[antlr-interest] Keeping lookahead low

Ciaran Treanor ciaran.treanor at gmail.com
Thu Aug 25 09:11:02 PDT 2005

> Two days ago I've sent to you corrected grammar, but I don't see my changes in
> grammar attached to your message. I've removed THING_ID rule
> and changed ID rule as follows:

Yeah - thanks for that Alexey. I finally figured out that my original
THING_ID rule and the approach you suggested for the ID rule were
mutually exclusive!

> All your tests are GOOD.

You bet - thanks for that.

> I agree, message "expecting ID or '}'" is better, but ANTLR can't do that.

That's a shame.

Thanks for all your help.


More information about the antlr-interest mailing list