You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Lean ecosystem doesn't have a tool for generating parser code from grammar definitions. At work, we have an internal language that is quite large in terms of constructs but syntactically simple. I found BNFC and am considering to use it for having a unified definition as the source for the Lean parser + tree-sitter highlighting + C/C++ backend for blazingly fast™ parsing when it matters.
Would you be open to accept PRs to add a Lean backend? Obviously subject to implementation quality.
As a side note, I'm happy to help maintain it as I would absolutely use it for my personal projects as well, getting really tired of writing parser combinators by hand...
Activity
GZGavinZhao commentedon Jun 18, 2026
As a side note, I'm happy to help maintain it as I would absolutely use it for my personal projects as well, getting really tired of writing parser combinators by hand...