[antlr-interest] common prefix on Parser rules.
Cesar Octavio Lopez Nataren
cesar at ciencias.unam.mx
Sun Mar 30 15:51:26 PST 2003
Hello, this is more a grammar design question but antlr related ;)
Look:
Supose I have the next grammar description:
MemberExpresion: new MemberExpression Arguments
NewExpression: new NewExpression | MemberExpression
Obviously the new prefix is causing a non-determinism escenario. Any
suggestion for transforming this description to let antlr generate a
correct parser?
MemberExpression has others rules too, not just "new MemberExpression
Arguments".
Thanks a lot in advance.
cesar
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list