[antlr-interest] Is ANTLR Hallucinating?

Wincent Colaiuta win at wincent.com
Tue Jun 26 07:03:10 PDT 2007


El 26/6/2007, a las 15:59, Randall R Schulz escribió:

>> Yeah, I'm using standalone ANTLRWorks as well. This screenshot
>> (<http://antlr.org/works/screenshots/ambiguouspath.jpg>) shows what
>> ambiguous path visualization looks like. Note the check boxes for the
>> alternatives; in order to see both paths both check boxes must be
>> checked.
>
> I've never seen anything like that, even when I get those warnings  
> from
> the ANTLR tool.
>
> How do you get multiple productions at one time in the Syntax  
> Diagram? I
> can't get that to happen—I never see the racetrack diagram for more
> than one production at a time.

No specific action should be required on your part. If multiple rules  
need to be shown in order to display the ambiguous paths then  
ANTLRWorks should display them automatically whenever the rule with  
the ambiguity (highlighted red in the list of rules) is selected.

Cheers,
Wincent



More information about the antlr-interest mailing list