[erlang-questions] comma-less lists and tuples

Richard A. O'Keefe ok@REDACTED
Fri Sep 22 02:36:57 CEST 2006


"Ulf Wiger \(TN/EAB\)" <ulf.wiger@REDACTED> quoted:
	Do you mean teaching the compiler to parse SQL, or to leave
	it as is and letting the compiler remain ignorant? ;-)
	
The approach I suggested, of having a declaration to associate
an "embedded syntax" keyword with a new parser module, is, really,
BOTH:
    - the Erlang compiler only knows about Erlang
    - but it can be extended with anything that can turn a
      token list into Erlang abstract syntax trees

It's a parse transform at a somewhat lower level.



More information about the erlang-questions mailing list