One grammar, four languages
Write a grammar in the industry-standard .lark language, and parse it from Python, Rust,
JS/TS, or C. Hyperlark loads grammars at run-time, no compilation step necessary!
Use Hyperlark in your favorite language. Or in several of them at once: The same grammar, and same semantics, will apply in each one.
One grammar, four languages
Write a grammar in the industry-standard .lark language, and parse it from Python, Rust,
JS/TS, or C. Hyperlark loads grammars at run-time, no compilation step necessary!
LALR and Earley
Choose between two very capable parsers, that complement each other’s abilities. Each parser comes with sophisticated lexers to choose from, and many useful improvements.
Fast & Safe
All language bindings run the Rust backend. It is fast, safe, and well-tested. See the benchmarks.
Try it live
Go to the playground to interact with our WASM build live, and see it in action.