[antlr-interest] Why these lex rules make the generated .c source file grow to over 40M size?
Johannes Luber
JALuber at gmx.de
Wed Jan 14 07:33:54 PST 2009
> I found using the same lex rule,the size of the generated .Java file is
> much
> smaller than the generated .C file.For example, the size of
> the generated .Java file is 124K, while the size of .c file could reach
> to
> 14M!!!
Probably the C target doesn't implement the compressed format for DFAs. Shouldn't be too difficult to add.
Johannes
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the antlr-interest
mailing list