MODERATE -- ib_icf@yahoo.com.cn posted to antlr-interest

Yahoo!Groups Notification antlr-interest-accept-6bDeC5BXtaFRow3RpLzXdpY at yahoogroups.com
Tue Sep 14 03:18:24 PDT 2004


Hello,

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

  ib_icf at yahoo.com.cn 

The message summary:
--------------------
FROM: ib_icf at yahoo.com.cn 
DATE: Tue, 14 Sep 2004 10:17:45 -0000 
SUBJECT: pls look at my parser, who can help me to kill this nest problem! 

I found this toy very interesting, but meet some problems, 
here is the definition of my parser: 

class ExprParser extends Parser; stat : expr | ifStat ; 
ifStat : IF ifPart END IF ; ifPart : expr THEN stat ( ELSE 
stat )? ; expr : andExpr (AND andExpr |OR andExpr )* ; 
andExpr : numExpr (EQUAL numExpr |GREAT numExpr |LESS 
numExpr |GRTEQ numExpr |LESEQ numExpr )? | LPAREN expr 
RPAREN ; numExpr : mexpr ( PLUS mexpr | MINUS mexpr )* ; 
mexpr : atom ( STAR atom | DIV atom )* ; atom : i:NUM | 
--------------------

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=292 

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-6bDeC5BXtaFRow3RpLzXdpY 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: "ib_icf" <ib_icf at yahoo.com.cn>
Subject: pls look at my parser, who can help me to kill this nest problem!
Date: Tue, 14 Sep 2004 10:17:45 -0000
Size: 2197
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20040914/2d1162be/attachment.mht


More information about the antlr-interest mailing list