[erlang-questions] AST from source?

Xavier Noria <>
Mon Apr 17 13:49:09 CEST 2017


Awesome, I knew about +to_core, and +to_kernel but was not aware of the
other ones.

Also, it seems that +to_pp is the AST of the Erlang code c(File, 'P')
yields, and similar for +to_exp and 'E'.

I see 'P' and 'E' documented in the docs of compile:file/2, but none of the
flags in that list... are those considered to be private maybe? Could
volunteer a doc patch otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170417/d6d38c3e/attachment.html>


More information about the erlang-questions mailing list