[erlang-questions] A style question

Mariano Guerra luismarianoguerra@REDACTED
Mon Feb 15 11:06:01 CET 2010


On Mon, Feb 15, 2010 at 8:58 AM, Michael Turner <leap@REDACTED> wrote:
> Jayson wrote:
> Neither of the two books has an appendix for a semi-formal grammar of
> Erlang, in BNF style, nor does there seem to be such a thing in the
> reference manual.  Need I say how important such touchstone material can
> be, as both reference and serendipitous learning resource, for seasoned
> programmers?  I was an experienced programmer already when I took my
> first course requiring Pascal (1978?), so I just flipped to the appendix
> with the BNF, noted Pascal's differences from what I knew of Algol in
> about an afternoon, and was reasonably fluent in almost the entire
> language within days.  I must have learned half of C by browsing the
> syntax summary in K&R, running across interesting cases, and thinking,
> "You can *say* that?  Hm, let's see what it means."  In the case of
> learning Erlang fun f/n, just having a syntax chart would have helped me
> find the syntax more quickly.

maybe this can help, i dont know if it is complte or up to date but it
is a start.

http://github.com/erlang/otp/blob/ba3758531a0b6dc6797457279e1ce0f99d282d20/lib/parsetools/src/esyntax.yrl


More information about the erlang-questions mailing list