[antlr-interest] StackOverFlow
Elijah Epifanov
lists at xmart.ws
Sun Jun 3 15:01:32 PDT 2007
This usually means that your grammar isn't LL(*).
Concerning arithmetical expressions you probably use left-recursion,
which is inacceptable in LL(*).
Buy the pragmatic book and you'll get answers for many questions like this.
Filipe Alves wrote:
> Hi, I'm using stringtemplate to generate some java code, and I get a
> StackOverflow exception,
> when a try toString the template. The problem is especific to the
> generation of numeric expressions.
>
> Does anybody have any ideias how to solve this ?
>
> Thanks, Filipe
>
>
More information about the antlr-interest
mailing list