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. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
