Stack overflow when running a recursive programming language grammar #1028
Unanswered
TheOnlyTails
asked this question in
Q&A
Replies: 1 comment 1 reply
-
have you tried stepping through it in a debugger: https://github.com/pest-parser/awesome-pest/blob/main/debugger.md ? |
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
-
I'm trying to write a grammar for a custom general-purpose programming language using pest, and while I've managed to write the grammar, running it always results in a
fatal runtime error: stack overflow
.Here is the grammar I'm using, together with the test file I'm running it on (though it fails on smaller examples too).
Beta Was this translation helpful? Give feedback.
All reactions