[erlang-questions] about syntax tools
Andrew Kondratovich
andrew.kondratovich@REDACTED
Fri Aug 5 14:30:17 CEST 2011
I can get tokens with erl_scan:string(Code), then i can modify it and get
forms with erl_parse:parse_form(Modified_tokens). Then i can do
compile:forms(Forms).
I can set -compile(parse_transform, Module).
But parse_transform allow to modify forms. Are there any way to modify
tokens while compiling ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110805/11051355/attachment.htm>
More information about the erlang-questions
mailing list