[erlang-questions] comma-less lists and tuples

Ulf Wiger ulf@REDACTED
Fri Sep 22 08:56:03 CEST 2006


Den 2006-09-22 02:36:57 skrev Richard A. O'Keefe <ok@REDACTED>:

> "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.

Yes, and I started writing a reply to your post
telling how much I liked your idea. I think it
should be quite easy to implement, too.

I've forgotten why I didn't send it. (:

BR,
Ulf W
-- 
Ulf Wiger



More information about the erlang-questions mailing list