[erlang-questions] LfE .beam + Dialyzer

Bjorn Gustavsson bgustavsson@REDACTED
Fri Aug 21 10:16:55 CEST 2009


On Fri, Aug 21, 2009 at 4:05 AM, Robert Virding<rvirding@REDACTED> wrote:
> There is no way of doing that at the moment. I have a sneaking suspicion
> that it is not trivial, either you need an LFE parser for dialyzer so it can
> read LFE source files or the LFE compiler adds debug information which I
> guess has to be in vanilla erlang. I will admit that I haven't seriously
> looked into it yet, but I can put it in the pipe-line.

Dialyzer does its analysis on the Core Erlang code, so LFE could save
its generated Core Erlang code in the .beam file (with a suitable chunk name).
Dialyzer would then have to be modified to know to look for the Core Erlang
chunk in .beam files.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list