Select syntax parse transform

Sean Hinde Sean.Hinde@REDACTED
Thu Oct 25 17:51:11 CEST 2001

> Hi all,
> Well, I've had a go at a parse transform for the match syntax 
> stuff. It
> seems to work on some small test programs..

Though there was at least one bug ;)

If anyone is interested I'll tidy it up and submit it. It'd also be nice if
some compiler aware person would take a look over it and see if it is at
least a reasonable stab at a parse transform and I haven't broken too many
other things (especially before anyone at Ericsson uses it in some key piece
of AXD :-) ).

I do tend to agree that it shouldn't be needed but if something like this
provides the friendly introduction to match syntax that gets people over the
steep learning curve it probably jutifies the horror of epp!

Maybe in the future there will be a way to incorporate match specifications
into erlang code in a truly elegant and beautiful way.. I really like the
mnemosyne query syntax but it has never been supported well by the runtime -
maybe that is the way forward?


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 mailing list