[antlr-interest] greedy vs nongreedy lexer rules
Graham Wideman
gwlist at grahamwideman.com
Sun Apr 18 18:03:48 PDT 2010
Quick question:
I noticed Ter say this:
At 4/18/2010 04:56 PM, you wrote:
>Yeah, best we can do is linear for NFA evaluation given infinite processors, though, unless I allow lexer to race ahead of parser, buffering up all the tokens.
... was there a decision made at some point to have the lexer not slurp the entire input at once like v3? If so I'd like to read more about pros and cons of that, and whether that facilitates more interactivity between lexer and parser... was there a thread on that at some point?
Thanks,
Graham
More information about the antlr-interest
mailing list