[antlr-interest] [SPAM] Re: [SPAM] [SPAM] Re: [SPAM] [SPAM] Syntax ambiguity?
Olivier Lefevre
lefevrol at yahoo.com
Fri Mar 4 16:47:40 PST 2011
On 3/4/2011 9:32 PM, Kevin J. Cummings wrote:
> That would involve the lexer knowing something about the parsing
> context, which it doesn't. Your entire character stream gets
> tokenized before the parser even gets run....
I see. I thought cases like this might be an argument for a combined
lexer-parser but I have since found the notes where TP argues it:
http://www.antlr.org/blog/antlr3/lexical.tml
-- O.L.
More information about the antlr-interest
mailing list