-
For example, tree-sitter has an external scanner written in C to parse the non-context-free part of a language while using the grammar for everything else. Is something similar available for pest? |
Beta Was this translation helpful? Give feedback.
Answered by
tomtau
Apr 22, 2024
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ahelwer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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