small medium large xlarge

Generic-user-small
04 Nov 2011, 05:51
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

3_small_pragsmall
07 Nov 2011, 20:09
Joe Armstrong (10 posts)

It’s in the Erlang distribution

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

/Joe

Generic-user-small
11 Nov 2011, 01:33
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