[antlr-interest] Static initializer is exceeding the 65535 bytes limit in the generated parser

Gikas Gikas gikas.gikas at gmail.com
Wed Jul 2 12:09:29 PDT 2008


HI,

Anyone else has seen this?
It  happens with a 3.1b2. The same grammar with 3.0.1 works fine.

The grammar has about 800 keywords and is very ambiguous.  It seems that
most of the static code in the parser is DFA-related. Is there any option to
control the generated DFA code?

Would adding disambiguating semantic predicates in the grammar solve this
problem?

Regards,
Gikas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080702/7ecafffd/attachment.html 


More information about the antlr-interest mailing list