[antlr-interest] Re: [antlr-dev] Hitting method size limit

Emond Papegaaij e.papegaaij at student.utwente.nl
Sun Jun 25 23:38:15 PDT 2006


On Saturday 24 June 2006 20:32, Terence Parr wrote:
> On Jun 24, 2006, at 6:44 AM, Emond Papegaaij wrote:
> > time java -cp <cut> org.antlr.Tool tpl.g
> > ANTLR Parser Generator   Early Access Version 3.0b1 (?)  1989-2006
> > tpl.g:113:15: no lexer rule corresponding to token: VISIT_IDENTIFIER
> >
> > real    1m3.201s
> > user    1m4.810s
> > sys     0m0.616s
>
> Try -Im 3 or -Im 2 and see if that helps...that limits the size of an
> internal stack.

With -Im 2 it is a few seconds faster, but not much. It still takes a minute.

Best regards
Emond Papegaaij


More information about the antlr-interest mailing list