[erlang-questions] AST from source?
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
- +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.
Founder and Director of R&D
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions