Constructive criticism of Erlang

Luke Gorrie <>
Wed Feb 7 12:04:23 CET 2001


Chris Pressey <> writes:

> Just how "discouraged" is "discouraged" when it comes to Parse
> Transformations?  Is there any example code for a Parse Transformation?
> (I imagine not, since it's discouraged.)  I can see why this would be,
> Erlang is supposed to be a fairly predictable language.  Playing with
> the grammar makes it less predictable, and thus should be avoided.  I
> don't wholly disagree.

Tobbe's "xx-1.0" on the User Contribution page at erlang.org has a
parse transform module which you can read as an example of how to
write them.

Cheers,
Luke




More information about the erlang-questions mailing list