[antlr-interest] AntLR Bug

Terence Parr parrt at jguru.com
Mon Feb 4 15:33:22 PST 2002


On Monday, February 4, 2002, at 12:45  AM, Michael Labhard wrote:

> Terrance:
>
> 	Thank you for your assistance.  I understand the problem but have 
> not been
> successful at finding a work-around.  I am coming to the conclusion that
> AntLR is not capable of parsing standard Prolog, at least without 
> emitting
> the warning, specifically because of the GRAPHIC token/END token 
> ambiguity.
> Any furthur advice before we abandon our effort to use AntLR?

Didn't the monty solution (or the new FAQ entry) provide a reasonable 
solution?  Should work for you :)  Left-factoring is unfortunately 
necessary with ANTLR lexers.

Ter
--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

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



More information about the antlr-interest mailing list