Constructive criticism of Erlang
Wed Feb 7 12:12:16 CET 2001
And there is erl_id_trans in the stdlib src directory. This appears to be
there simply as an example of something which wil parse transform all legal
code into exactly the same code!
> -----Original Message-----
> From: Luke Gorrie [mailto:]
> Sent: 7 February 2001 11:04
> To: Chris Pressey
> Cc: Erlang-Questions Mailing List
> Subject: Re: Constructive criticism of Erlang
> Chris Pressey <> writes:
> > Just how "discouraged" is "discouraged" when it comes to Parse
> > Transformations? Is there any example code for a Parse
> > (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.
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.
More information about the erlang-questions