[antlr-interest] Bytes Limit

Jim Idle jimi at temporal-wave.com
Wed Oct 21 00:57:29 PDT 2009


This is also quite often caused by a poorly specified grammar (especially lexers) causing lots lookahead and states etc. A good way to determine this is to find the DFA in question in the generated source code and see what decisions/rules it is handling. This should help you pin down where things are getting so big and then you can look at the why.

 

Jim

 

From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Horst Dehmer
Sent: Tuesday, October 20, 2009 12:13 PM
To: Marcelo Nichele; antlr-interest at antlr.org
Subject: Re: [antlr-interest] Bytes Limit

 

Hello Marcelo,

i'm afraid you hit a hard limit with java binary class files. how is your grammar looking, is it unusually big?
have also a look at
http://groups.google.com/group/comp.lang.java.machine/browse_thread/thread/b0cf268515f1ef55

good luck,
horst


On 20.10.09 06:59, "Marcelo Nichele" <marcelo.nichele at gmail.com> wrote:

The code of method specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091021/733c4727/attachment.html 


More information about the antlr-interest mailing list