Gratitude for Contextual Lexer #1322
davidmcnabnz
started this conversation in
General
Replies: 1 comment
-
You're welcome! I'm honestly perplexed that this simple technique isn't common. To my knowledge, Lark is the only parser that does it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While building/debugging a parser for a major project of 'retro-parsing' an antique language, I've noticed how LARK's framework forks off numerous context-specific lexers, rather than using just one.
This is proving to be a major boost. Thanks so much, folks, for making it part of the architecture. It's saving me a ton of painful efforts of accommodating countless spammy edge cases and creating more edge cases along the way. :)
Beta Was this translation helpful? Give feedback.
All reactions