[antlr-interest] dfa-based lexers versus top-down antlr lexers
Terence Parr
parrt at jguru.com
Wed Apr 30 09:18:16 PDT 2003
On Wednesday, April 30, 2003, at 07:05 AM, Greg Lindholm wrote:
> I've done a couple projects using ANTLR and have not yet
> been able to use the lexer. I've had to hand-craft my own
> lexer's because of column positional token's issues.
Hi :)
2.7.2 allows predicates on the left edge of lexer rules so you can say:
{getColumn()==1}?
and have it work :)
Ter
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Co-founder, http://www.peerscope.com link sharing, pure-n-simple
Lecturer in Comp. Sci., University of San Francisco
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list