[antlr-interest] token filtering in C target (antlr 3.0)
Corno Schraverus
antlr-interest at schraverus.com
Wed Dec 19 17:00:34 PST 2007
Hi all,
I'm trying to port a whitespace significant grammar from 2.7 to 3.0.
(It is almost identical to the python parser available for 2.7; basically
all that has to be done is override the 'nextToken' method.)
I'm going through the sources of the runtime library for the C target but
cannot find the nextToken method(function) and if I'm correct it's done with
_LA(). However _LA() is more complex: arbitrary lookahead or lookback. Do I
have to implement this functionality to get it working correctly?
greetings,
Corno
More information about the antlr-interest
mailing list