[antlr-interest] Using the ANTLRworks Debugger

Terence Parr parrt at cs.usfca.edu
Sun Nov 19 13:30:47 PST 2006


On Nov 19, 2006, at 1:26 PM, Randall R Schulz wrote:

> Terence,
>
> On Sunday 19 November 2006 13:03, Terence Parr wrote:
>> ...
>>
>> I simply meant that AtomicWord matches SingleQuoted which means that
>> the lexer must decide which rule, AtomicWord or SingleQuoted, will
>> match the  the production  with the actual single quote in.
>
> Got it.
>
> I guess I keep applying parser-rule thinking to lexer rules.

Yup ;) knowing where to draw the line is often difficult.

Ter



More information about the antlr-interest mailing list