Skip to content

Stack overflow with mutually recursive rules #70

Answered by zesterer
nrabulinski asked this question in Q&A
Discussion options

You must be logged in to vote

That sounds like you're hitting left recursion. Chumsky is a recursive decent PEG parser, so you'll need to restate your left-recursive rules as right-recursive ones.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nrabulinski
Comment options

@nrabulinski
Comment options

@zesterer
Comment options

Answer selected by nrabulinski
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants