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

Miguel Marques mig.marques at gmail.com
Wed Mar 25 04:38:53 PDT 2009


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/6ea6f514/attachment.html 


More information about the antlr-interest mailing list