[antlr-interest] Size of generated lexer code

Johannes Luber jaluber at gmx.de
Wed Jul 2 03:18:07 PDT 2008


David Goldberg schrieb:
> Is it normal for a lexer with approximately 125 tokens to generate a C# 
> lexer file of about 7500k? That seems rather large to me. I am running 
> ANTLR 3.01

3.1b1 supports RLE so files are generally smaller. The CSharp target has 
a bug in the support code, though, thus you have to use CSharp2 until 
the next beta comes out. But switching to CSharp2 is a good idea anyway 
- see the wiki page.

Johannes


More information about the antlr-interest mailing list