[erlang-questions] Re: implementing annotation in erlang

John Hughes john.hughes@REDACTED
Thu Sep 10 08:54:18 CEST 2009

I usually add the line numbers automatically anyway--build generated code 
without them, then traverse it and insert the same line number into each 
node. It's easy to do and it helps a bit.


From: "paweł kamiński" <kamiseq@REDACTED>

finally I went through parse_transform but constructing even simple format
from scratch is a nightmare.

to prepare something like

I need to build

is there a way to construct code blocks in more elegant way, something like
create_fun(LineNo, Name, Arity, Body, ..)-> would produce function block
create_tuple(LineNo, Tuple)
and so on

More information about the erlang-questions mailing list