[antlr-interest] Setting Lexer (Was: Please HELP!!!)
Terence Parr
parrt at jguru.com
Fri Feb 7 00:27:59 PST 2003
On Friday, February 7, 2003, at 12:20 AM, Craig Main wrote:
> Thanks Terrence,
>
> I was thinking about restarting the lexer by saving the input text
> somehow.
> Your suggestion is infinitely better, thanks.
>
> Would a simple stack or queue not work effectively?
Sure. any kind of form will work. Try a TokenStream that queues them
up, saving them.
Ter
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
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