[antlr-interest] evaluation of predicates in lexer

Terence Parr parrt at cs.usfca.edu
Sun Sep 25 13:36:11 PDT 2005


Howdy, added a bunch of stuff on the evaluation of sem preds in the  
lexer for ANTLR v3:

http://www.antlr.org/blog/antlr3/lookahead.tml

Highlights a tough problem in terms of what predicates mean; ANTLR  
only uses predicates when it has insufficient syntactic information.   
The evaluation of predicates seems to conflict with matching the  
longest string.

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com



More information about the antlr-interest mailing list