[antlr-interest] Problem with large bit sets

Terence Parr parrt at jguru.com
Fri Jul 26 13:28:07 PDT 2002


Hi Joe,

have you tried the 2.7.2a2 release?  I made this much more 
efficient...are you talking about array literal size?  If so, new 
release should fix it.

Ter

On Friday, July 26, 2002, at 12:47  PM, Joe Comuzzi wrote:

> I know I've seen a discussion of this issue, but I can't find it now.
>
> I've got a lexer which has a large vocab range (basically 
> u0000...ufffe) and
> it generates nine bitsets. Since each bitset is basically 65536 bits 
> long,
> this is pushes the class size limits in java. It was compiling in SJ, 
> but
> now I need to upgrade to 1.4 for assert (and other reasons) and the
> resulting class doesn't load.
>
> I tried codeGenBitsetTestThreshold=999; and it didn't seem to help. 
> There
> must be some other way to control the bit set generation... Before I 
> look at
> the ANTLR source - any suggestions?
>
> Thanks, Joe C.
>
>
>
>
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
>
>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

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



More information about the antlr-interest mailing list