[antlr-interest] saving the token stream

marcschellens m_schellens at hotmail.com
Mon Aug 18 01:43:22 PDT 2003


I have a string which is parsed, but in some cases the
last few parsed 'commands' (within the string) must be repeated.
Is there a simple way to save the token stream for this purpose.
Of course I could write a tree parser, but for this relatively simple
issue, I would prefer to reuse the token stream and do all necessary
actions in the parser.
Thanks,
marc


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list