Parsing infrastructure for language tools in Rust.
Rezel provides compact syntax trees, error recovery, original UTF-8 byte ranges, and typed syntax views. Use an existing language package or generate a Rust parser from a Lezer-style grammar.
Under active development; not ready for production use. APIs and language coverage may change. Cross-edit incremental parsing is not yet implemented.
Go · Java · JSON · Kotlin · PHP · Python · Rust · Swift
Typed syntax coverage and owned AST availability vary by package. Each offers optional syntactic highlighting. See language capabilities.
- Build your own parser
- Architecture — based on Lezer, with selected ideas from tree-sitter.
- Documentation
- Contributing — setup, development, and verification.
MIT or Apache-2.0, at your option.