[antlr-interest] How to define multi and div?
Sohail Somani
sohail at taggedtype.net
Sat Dec 10 10:15:51 PST 2005
On Sat, 2005-12-10 at 11:13 -0500, Scott Stanchfield wrote:
> Because they have the same precedence, they should really be the same
> rule. For a really good treatment of expressions (if I do say so
> myself), including this exact case , see my ANTLR Tutorial at
>
> http://javadude.com/articles/antlrtut
>
Its a really good treatment :)
Its quite annoying when there are no operators with the same precedence
(I think I had like 19 rules!)
More information about the antlr-interest
mailing list