Skip to content

What "bailout" functionality is available in pest to parse non-context-free syntax? #1011

Answered by tomtau
ahelwer asked this question in Q&A
Discussion options

You must be logged in to vote

There's no general escape hatch, but there are language constructs where it can parse expressions that go beyond CFG: see https://pest.rs/book/grammars/syntax.html#the-stack-wip

Replies: 1 comment 3 replies

Comment options

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

@tomtau
Comment options

@ahelwer
Comment options

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