[erlang-questions] BNF/EBNF Grammar for Erlang

Ryan Molden <>
Fri Nov 11 19:53:00 CET 2011


Yeah I saw a peg called erlang.peg but it didn't seem like Erlang as it was
missing most all the terminals (keywords, operators, etc...). Maybe I
overlooked them or was looking in the wrong file, I will dig around some
more, thanks (both).

Ryan
------------------------------
From: OvermindDL1
Sent: 11/11/2011 10:12 AM
To: Ryan Molden
Cc: ; Max Lapshin
Subject: Re: [erlang-questions] BNF/EBNF Grammar for Erlang


On Nov 11, 2011 10:38 AM, "Ryan Molden" <> wrote:
>
> Not clear how that helps, is there a grammar in there somewhere I am
> missing? I looked around a little on the github page for it with no
> success.

It uses standard PEG, like EBNF/BNF, but not ambiguous like those are,
check both the range in the root directory, and check the extra directory
for samples.  As for PEG, even Wikipedia has a good detailed description,
but if you know EBNF, you basically already know it except for one or two
operators.

>
> Ryan
> From: Max Lapshin
> Sent: 11/11/2011 9:03 AM
> To: Ryan Molden
> Cc: 
> Subject: Re: [erlang-questions] BNF/EBNF Grammar for Erlang
> You should take a look at neotoma
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111111/5a5d4167/attachment.html>


More information about the erlang-questions mailing list