<div>Yeah, no luck. Neotoma (near as I can tell) is based at seancribbs / neotoma (with numerous forks). It is a parser generator for Erlang that *understands* PEGs, it does not, itself, contain a PEG for the actual Erlang language, just some trivial PEG examples for things like JSON and some simple DSLs. </div>
<div> </div><div>I am looking for an up-to-date BNF/EBNF/PEG grammar for the Erlang language itself. </div><div> </div><div>Vlad's recommendation looks like the closest yet, so maybe I will move forward with it and then just 'sanity check' against the compiler if there is confusion or things that differ from the (somewhat old) grammar in the 4.7 doc on the <a href="http://erlang.org">erlang.org</a> site.</div>
<div> </div><div>Ryan<br></div><div class="gmail_quote">On Fri, Nov 11, 2011 at 10:53 AM, Ryan Molden <span dir="ltr"><<a href="mailto:ryanmolden@gmail.com">ryanmolden@gmail.com</a>></span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
<div><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">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).<br>
<br>Ryan<br></div></div><hr><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">From: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">OvermindDL1</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">Sent: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">11/11/2011 10:12 AM</span><br>
<span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">To: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">Ryan Molden</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">Cc: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;"><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>; Max Lapshin</span><div class="im">
<br>
<span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">Subject: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">Re: [erlang-questions] BNF/EBNF Grammar for Erlang</span><br>
<br></div></div><div><div></div><div class="h5"><p><br>
On Nov 11, 2011 10:38 AM, "Ryan Molden" <<a href="mailto:ryanmolden@gmail.com" target="_blank">ryanmolden@gmail.com</a>> wrote:<br>
><br>
> Not clear how that helps, is there a grammar in there somewhere I am<br>
> missing? I looked around a little on the github page for it with no<br>
> success.</p>
<p>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.<br>
</p>
<p>><br>
> Ryan<br>
> From: Max Lapshin<br>
> Sent: 11/11/2011 9:03 AM<br>
> To: Ryan Molden<br>
> Cc: <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> Subject: Re: [erlang-questions] BNF/EBNF Grammar for Erlang<br>
> You should take a look at neotoma<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</p>
</div></div></blockquote></div><br>