interpreting Core Erlang

Luke Gorrie <>
Thu Apr 1 13:03:59 CEST 2004


Richard Carlsson <> writes:

> if you'd make the effort to rewrite the debugger, it would be better
> to have it work directly on Beam code, with mappings from program
> points to source code lines, etc.

And Beam code doesn't include any mapping information like that today,
right?

> In the shell, you'd still have to go through pretty much the same
> motions anyway in order to first translate the code to Core Erlang and
> then interpret that. So it doesn't really make anything simpler.

Could you use the first few passes of the compiler for this?

I suppose that Erlang doesn't change so much for this to be worth the
effort though.. not to mention that Core Erlang can change too.

-Luke




More information about the erlang-questions mailing list