[antlr-interest] building ASTs for recursive lists
John D. Mitchell
johnm-antlr at non.net
Thu Nov 18 08:57:57 PST 2004
>>>>> "Maassen," == Maassen, H A M <H.A.M.Maassen at student.tue.nl> writes:
[...]
> " Unfortunately, I can't seem to change logicalExpression to what I'd
> like:
> logicalExpression : relationalExpression ( logicalOperator^
> relationalExpression )*
> ;
Well, note clearly that you have a sub-clause there which can be *zero*.
> To build a proper tree. Why can't I? Or even better? How can I? "
What do you mean by "proper"?
Take care,
John
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list