[erlang-questions] Typed records and erl_parse

Bjorn Gustavsson <>
Tue Dec 5 17:46:50 CET 2006


Thomas Lindgren <> writes:

> --- Tobias Lindahl <> wrote:
> 
> 2. Those who store abstract syntax trees persistently.
> This includes those of us who use +debug_info, from
> what it looks like.
> 
> #2 sounds potentially painful.

Yes, #2 IS painful. Even Dialyzer could be bitten by it;
by users who want to analyze their system but don't want
to re-compile.

I suggest that erl_parse could start to produce the new format
for record definitions, but that any Erlang module that interprets
the format (erl_expand_records and others) convert from the old
format to the new on the fly. In a future release, support for the
old format could be dropped.

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




More information about the erlang-questions mailing list