[antlr-interest] Antlr 3.2 issues: code too large and "no such attribute: description"
Edson Tirelli
tirelli at post.com
Wed Aug 18 12:55:40 PDT 2010
Source is here:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/branches/etirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g
The generated Java file has 34470 lines when compiled with -debug.
Without debug, 26k lines.
Edson
2010/8/18 Junkman <j at junkwallah.org>
> Hi Edson,
>
> Just curious. How big is the grammar file?
>
> Jay
>
> Edson Tirelli wrote:
> > Hi Jim,
> >
> > Thank you a lot for your tips. It was very helpful.
> >
> > A few comments:
> >
> ...
> >
> > 3. Thanks. As now I am getting code too large on the command line as well
> > when generating the grammar with debug info, I will refactor and split
> the
> > grammar into a Composite grammar. I will try to reduce the code on parser
> > actions as you suggested.
> >
> > Thanks a lot,
> > Edson
> >
> >
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
More information about the antlr-interest
mailing list