[antlr-interest] Parsing a TokenStream in piecemeal fashion

micheal_jor <open.zone at virgin.net> open.zone at virgin.net
Fri Jan 31 05:46:21 PST 2003


Hi,

Any ideas on how to create a Parser instance and use it to parse a 
few tokens at a time from a TokenStream repeatedly. Obviously there 
wouldn't be an EOF condition/character most of the time.

If it's relevant, each invocation of the Parser builds an AST 
fragment that is fed to TreeParser(s).

Micheal



 

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



More information about the antlr-interest mailing list