[erlang-questions] AST from source?
José Valim
jose.valim@REDACTED
Mon Apr 17 12:45:48 CEST 2017
It can also be done from the command line:
erlc +to_pp path/to/file.erl
Besides +to_pp, you can pass:
- +to_pp - pretty printed Erlang format after parse transforms and file
imports
- +to_exp - pretty printed Erlang format after parse transforms,
imports, records and others
- +to_core - Core Erlang
- +to_kernel - Kernel representation
- +to_asm - ASM representation
We may have others but from memory those are the main ones.
*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170417/cf76ca96/attachment.htm>
More information about the erlang-questions
mailing list