[erlang-questions] parse transform tutorial

Ngoc Dao <>
Tue Jun 30 00:12:26 CEST 2009


I think you start by figuring out how erlang-gettext works:
* http://github.com/davide/erlang-gettext
*
http://github.com/davide/erlang-gettext/blob/baee1560a705d1337fa05be822fde57abef1d312/src/gettext_compile.erl

Together with parse transform, you should study about AST:
*
http://github.com/davide/erlang-gettext/blob/baee1560a705d1337fa05be822fde57abef1d312/src/gettext_generate.erl
* http://erlang.org/doc/man/erl_syntax.html

Ngoc.


On Tue, Jun 30, 2009 at 6:51 AM, David Mercer <> wrote:

> Check out the Identity Parse Transform module that comes with Erlang:
> erl_id_trans.  I would use that as a starting point, and modify it as
> needed.
>
> > -----Original Message-----
> > From:  [mailto:]
> On
> > Behalf Of Praveen Ray
> > Sent: Monday, June 29, 2009 3:10 PM
> > To: 
> > Subject: [erlang-questions] parse transform tutorial
> >
> > Hello
> > Is there a tutorial on how to get started with Erlang's parse transforms?
> > Since Ruby like metaprogramming is not available, I think parse
> transforms
> > are next best option?
> > Thanks
> >
> > --
> > Yellowfish Technologies Inc
> > http://www.yellowfish.biz
> > 
> > (888) 817 2969 x 233
> > gtalk/skype: praveenray
>
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list