Smerl breakthough: metacurrying
Yariv Sadan
yarivvv@REDACTED
Wed Aug 23 14:26:14 CEST 2006
> Actually, it's the parser that would do all the work, transforming the
> new stuff into regular Erlang abstract syntax.
>
If your language extensions are compatible with the current Erlang
syntax, you can use smerl:for_file to get the intermediary abstract
forms, change them (there's a tiny bit of parsing here), then generate
the final abstract forms. However, if your language is not
syntactically compatible with Erlang, you do need a new parser.
Regards,
Yariv
More information about the erlang-questions
mailing list