[antlr-interest] Re: Building trees with the correct associativity
Maassen, H.A.M.
H.A.M.Maassen at student.tue.nl
Thu Dec 2 01:44:16 PST 2004
> addExpr
> { AST el = null; }
> :
> m1:mulExpr { el = m1 }
> ( a:addOp b:mulExpr
> { ## = #([ADD_EXPR,"ADD_EXPR", e1, a b); e1 = ##; }
> )
>
> That is truly ugly--I really need to push on getting 2.8 out the door.
>
> --Loring
What happens in 2.8?
- Harald, sharing the associativity problem
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3958 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20041202/74f12ed9/attachment.bin
More information about the antlr-interest
mailing list