[erlang-questions] quote, backquote and unquote in Erlang
Philip Robinson
chlorophil@REDACTED
Wed Jun 27 17:00:35 CEST 2007
On 6/26/07, ok <ok@REDACTED> wrote:
...
> The main use of quasi-quote, unquote, and unquote-splicing is in macros
> (not that 'unhygienic' macros are really part of Scheme), although I
> have used them a lot in producing XML. Erlang does not have Lisp-like
> macros, although parse transforms can be used to the same end. Erlang
> has C-like macros (and how I wish it didn't), which are admittedly
> inferior. Again, trawl through the archives of this mailing list
> looking for parse transforms, and you'll find stuff. Someone had a rather
> nice tutorial making it look so easy...
If you are referring to my 'EMP' projects, you can find them at
http://chlorophil.blogspot.com/2007/04/erlang-macro-processor-v1-part-i.html
and http://chlorophil.blogspot.com/2007/04/erlang-macro-processor-v2-part-i.html
If you are referring to some other parse_transform macro tutorial,
please post a link - I'd like to read it! :-)
Also, Ulf Wiger's ct_expand module can usually be found at
http://forum.trapexit.org/viewtopic.php?t=6009 , but I am getting a
"/viewtopic.php not found" error from there at the moment.
Cheers,
Philip
More information about the erlang-questions
mailing list