[antlr-interest] Nondeterministically blind

Terence Parr parrt at jguru.com
Sat Dec 8 16:32:24 PST 2001

On Saturday, December 8, 2001, at 04:18  PM, Edward Povazan wrote:

> Hello,
> I just can't see why this shouldn't work. I am trying to parse Python
> strings:
> http://www.python.org/doc/current/ref/strings.html
> My rule:
> is the one that gives the warning.
> How do you guys normally go about hunting down the non deterministic 
> part of
> your grammars. I've been scribbling state diagrams, and just can't see 
> my
> error. Then again, I am a relative ANTLR newbie, and it's been a long 
> time
> since I wanted to parse something.
> Can anyone point out my error?

You didn't include the error message that I could see, but I'm guessing 
you have a problem in that your string chars can include the quote and 
double-quote chars, which will conflict with the start/end of the 
string :)

Good luck,


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list