04 Nov 2011, 05:51
Generic-user-small

Ryan Molden (3 posts)

Does anyone know where I can find an Erlang grammar? I have found the one in Appendix E of the Erlang spec, but on page 239 it references ‘AsciiInputCharacter’ (specfically it has something approximately equal to this (EBNF-ish) format: InputCharacter := AsciiInputCharacter (but not LF)) but that isn’t defined anywhere, so it isn’t clear what qualifies as an AsciiInputCharacter.

Ryan

07 Nov 2011, 20:09
3_small_pragsmall

Joe Armstrong (9 posts)

It’s in the Erlang distribution

https://github.com/erlang/otp/blob/master/lib/stdlib/src/erl_parse.yrl

/Joe

11 Nov 2011, 01:33
Generic-user-small

Ryan Molden (3 posts)

Thanks! I am not really familar with YRL, is there a BNF/EBNF form somewhere? If not I guess I may have to figure out how to read YRL :)

Ryan

  You must be logged in to comment