MODERATE -- barry.j.kelly@gmail.com posted to antlr-interest

Yahoo!Groups Notification antlr-interest-accept-HM8PyxRAGN8aT2_YJeqTGuQ at yahoogroups.com
Fri Oct 22 09:12:28 PDT 2004


Hello,

A message has been sent to the antlr-interest group from

  barry.j.kelly at gmail.com 

The message summary:
--------------------
FROM: barry.j.kelly at gmail.com 
DATE: Fri, 22 Oct 2004 17:11:24 +0100 
SUBJECT: Best practice for ASTs with expression types / annotation / pattern matching on annotations 

I'm writing what will, essentially, be a functional language

interpreter. This means that the program is formed from 
expression trees. My strategy looks something like this: 

1) Use buildAST=true to create the initial AST in the 
grammar. 2) Use a tree parser to rewrite adding in type 
information. At first I thought of using a 'prefix' node to 
indicate type, so that, for every subtree where it logically
plugs into another tree grammar production, has a new root 
--------------------

A complete copy of this message has been attached for your convenience.

This message requires your approval for one of the following reasons:
* Your group is set to moderate all messages from this user, OR
* Your group is set to moderate messages from all users

To approve or reject this messages using the web, please visit:
http://groups.yahoo.com/group/antlr-interest/pending?view=1&msg=348 

To approve this message using email, reply to this message. You do not 
need to attach the original message, just reply and send.

To reject this message using email, forward this message to

antlr-interest-reject-HM8PyxRAGN8aT2_YJeqTGuQ at yahoogroups.com 

NOTE: The pending message will expire after 14 days. If you do not 
take action within that time, the pending message will be automatically
rejected.  Yahoo! Groups does this to maintain a high quality of
service for our users.

Thank you for choosing Yahoo! Groups.

Regards,

Yahoo! Groups Customer Care

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
-------------- next part --------------
An embedded message was scrubbed...
From: Barry Kelly <barry.j.kelly at gmail.com>
Subject: Best practice for ASTs with expression types / annotation / pattern matching on annotations
Date: Fri, 22 Oct 2004 17:11:24 +0100
Size: 3029
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20041022/1689c81e/attachment.mht


More information about the antlr-interest mailing list