[antlr-interest] Re: Request enhancement ANTLR
micheal_jor
open.zone at virgin.net
Thu Jun 20 19:27:11 PDT 2002
> > Quick note, is it possible to use a shared string table and just
> > store a compact handle in each token?
>
> This should happen by default as the filename will be one string
that
> gets pointed to by every token.
Of course. I'm still in brain-drain mode from extended grammar debug
sessions ;-)
> I like this concept by the way, but I'm
> nervous about adding 4 bytes to every single token. 'course you can
just
> make a subclass of CommonToken and then tell antlr to build those,
right?
Yes. Wouldn't it be nice to have predefined subclasses of CommonToken
and CommonHiddenStreamToken that do this automagically?
Every little helps....
Micheal
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list