Hi, after long absence I am trying again to create new parsers. The last one was with ANTLR 2.7 several years ago, now I go with 3.4.
My problem is that both the C and the C++ target crash with a stack overflow error with a large grammar (MySQL 5.1 language). I can easily create parsers and lexers for C# and Java. I tried increasing the VM memory to 8GB, and antlr happily consumes it but still it crashes after about 15 minutes. So, what strategy would be appropriate now to get this working? Since the grammar works with the other targets and I actually need the full language stripping down the grammar is not really an option. ANTLR.works gives me green on the grammar (but doesn't generate the compiler either, however it also has problems with the java target, so I better leave it out for tasks other than editing and syntax checking). Thanks for any help, Mike -- www.soft-gems.net
_______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev