[antlr-interest] Maximum method length in generated parser/lexer

Sam Harwell sharwell at pixelminegames.com
Wed Mar 25 07:07:46 PDT 2009


Do you know which method is too long? I have a few ideas but it'd narrow
down my thinking about it if I knew that.

 

Sam

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Miguel Marques
Sent: Wednesday, March 25, 2009 6:39 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Maximum method length in generated
parser/lexer

 

Hello,

 

I'm trying to use a grammar with python actions with Jython (a python
interpreter implemented in Java) and I stumbled upon this problem:

 

java.lang.ClassFormatError: java.lang.ClassFormatError: Invalid method
Code length 127357 in class file cao/source/sourceParser$py

 

 

I know this isn't an ANTLR related problem but I would like to know if
there is any option on the ANTLR generator to python that I can use so
that each generated method has a smaller length so

that I can use with with Jython.

 

 

Thank you

miguel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090325/65e9cd7d/attachment.html 


More information about the antlr-interest mailing list