[erlang-questions] core erlang ?

Richard Carlsson <>
Tue Jul 10 13:27:21 CEST 2007

Torbjorn Tornkvist wrote:
> Is is possible to make the compiler to output the
> Core Erlang for inspection somehow ?
> Also, is it possible to inject some Core Erlang into
> the compiler for compilation ?
> Are there a nice API for this?

Yes, there are (undocumented) compiler options "to_core" and
"from_core". Look around in lib/compiler/compile.erl for details.


More information about the erlang-questions mailing list