[antlr-interest] Re: Problems while reusing Lexer/Parser/TreeParser instances
Ric Klaren
klaren at cs.utwente.nl
Sun Sep 28 14:22:32 PDT 2003
Hi,
On Sat, Sep 27, 2003 at 07:58:00PM -0000, micheal_jor wrote:
> In my scheme, the resetState() method for Lexers takes a new
> Stream/InputBuffer. The actual input file/stream/buffer doesn't have
> to be reset-able, just the internal state of the Lexer. Of course the
> "new" stream/InputBuffer may have been opened on the same file as the
> current one.
>
> Do you have code that successfully supports Lexer/Parser/TreeParser reuse?
There should be C++ versions in the archive if I do not forget I'll post
tomorrow.
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
There are 10 kinds of people - those that understand binary and
those that don't. --- Unknown
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list