[erlang-questions] Reverse Compiling Erlang AST to Erlang

Anthony Ramine n.oxyde@REDACTED
Fri Mar 20 13:05:18 CET 2015


Le 20 mars 2015 à 09:30, Gordon Guthrie <gguthrie@REDACTED> a écrit :

> Folks
> 
> I am generating some Erlang modules on the fly by generating ASTs.
> 
> For expository and code review processes I would like to be able to output the corresponding Erlang source code.
> 
> I have a hazy memory that this can be done, but damned if I can remember how...

Use erl_pp or erl_prettypr, depending on which AST you generate.


More information about the erlang-questions mailing list