[antlr-interest] ANTLR Grammar Operator Precedences

Kay Roepke kroepke at classdump.org
Sun Nov 12 20:09:35 PST 2006


On 13. Nov 2006, at 5:03 , Randall R Schulz wrote:

> Is the precedence of the operators in ANTLR v3.0's grammar documented
> somewhere? I couldn't find anything on the Wiki.

no, there isn't a list, unfortunately.
if you suspect a parser error to be responsible, consider running
ANTLR with
java org.antlr.Tool -Xgrtree yougrammar.g

that will print out the grammar AST. it could be huge, but at the  
moment this
is the single most helpful tool we have.

-k
-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list