[antlr-interest] Stack Overflow for Tree grammar CSharp target

Martin Probst mail at martin-probst.com
Wed Sep 3 01:07:17 PDT 2008


> I managed to reduce the recursive load a bit by factoring it out into
> more simple productions, so I know have:

At least in Java, you can set the stack size using something like:  
java -Xss1M, so with altering your grammar plus a larger stack size,  
your solution might work.

As C# is a rather complete copy of Java, that should be possible in  
the CLR, too, no? ;-)

Regards,
/Martin


More information about the antlr-interest mailing list