On Mar 20, 2009, at 6:23 AM, Indhu Bharathi wrote:
> Unfortunately, ANTLR implementation of Lexer doesn't backtrack (maybe > for efficiency purposes). Backtracking and taking an alternative can > be > done only in the parser. This was already discussed in the list. See - > http://www.antlr.org/pipermail/antlr-interest/2009-February/032981.html > . Hi. ANTLR generates lexer's, parsers, tree parsers with the same code generator and all of those derive from a single base class. all three can backtrack :) in the case of the lexer, though, it's not the kind of backtracking you see in lex. Ter 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 -~----------~----~----~----~------~----~------~--~---
