erlc safety

Richard Carlsson <>
Thu May 4 12:38:22 CEST 2006

Richard Carlsson wrote:
> Also note that code containing '-compile({parse_transform, foo}).' will
> run foo:parse_transform(Forms, Options) as a compiler stage.  [...]

Oh, and a similar thing happens with -behaviour(frob) declarations;
the compiler (in the lint stage) will call frob:behaviour_info/1.

Finally, there is also a -compile({core_transform, fubar}) option,
analogous to the parse_transform option.

But I think that's all. :-)


More information about the erlang-questions mailing list