Rantlr: Modern Parser Generator
⚡ The Future of Language Recognition
Tired of heavy JVM dependencies and messy code? Rantlr is a lightning-fast, Rust-powered alternative to ANTLR4, designed for modern developers.
🌟 Key Features
- Neon Smart Fix: Real-time diagnostics with one-click suggestions to fix grammar errors.
- Zero-Runtime Philosophy: Generated code in TS, Python, Go, Java, Ruby, and Erlang is clean, idiomatic, and dependency-free.
- Visual Rule Map: See your grammar connections in a beautiful glowing graph (Open Rantlr Playground).
🚀 Quick Start
- Create a
.gr file.
- Define your
rule and token.
- Save to see real-time Neon Diagnostics.
- Use the Command Palette (
Ctrl+Shift+P) → Rantlr: Generate Parser.
🛠 Supported Targets
TypeScript · Python · Go · Java · Ruby (Rails) · Erlang
Settings
| Setting |
Default |
Meaning |
rantlr.cliPath |
"" |
Path to rantlr binary (cargo install rantlr) |
rantlr.diagnoseOnSave |
true |
Run diagnose on save |
rantlr.diagnoseOnType |
false |
Debounced diagnose while typing |
Install the CLI: cargo install rantlr
Built with ❤️ for the Cyberpunk Dev Era.
| |