stuck in Antlr4.Runtime.Atn.ParserATNSimulator.Closure #4056
Unanswered
eugenelepekhin
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Please post your Antlr grammar and hand-written parser, and say which runtime are you using. There could be various causes:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Honestly, ANTLR generates code far from optimal, and a lot of optimizations can be applied. Also, the runtime also can be optimized. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am getting parser stuck in huge recursive loop in function Antlr4.Runtime.Atn.ParserATNSimulator.Closure
My handwritten parser on the same file is working instantly.
How do I figure out what the problem is?
Thanks,
Eugene
Beta Was this translation helpful? Give feedback.
All reactions