[antlr-interest] ANTLR/AspectJ -- Parser Class Size Too Large??

Bert Williams gilbert.williams at prosync.com
Wed May 9 03:00:49 PDT 2007


Greetings All:

 

I just tried to convert my parser project so that it is an AspectJ project
using Eclipse 3.2.2, ANTLR 3.06b, and a reasonably small grammar.

 

I get the error

 

problem generating method com.prosync.PMAP.regexp.<clinit> : Code size too
big: 84525 

 

I may be able to suppress this error by excluding the generated parser from
the aspects I am generating; however, I am asking the list if anyone has run
into the size problem in their work and if there is a way to get ANTLR to
generate the parser in a fashion that produces multiple .java files to
mitigate this issue.  I don't really think that this is an ANTLR issue, but
if someone wrote a really complex grammar, it might be.

 

Thanks and have a great day!

 

Bert Williams

 

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


More information about the antlr-interest mailing list