Show HN: Lime, a parser generator that can merge grammars at runtime
Category: devtools
Tags: parser-generator, runtime-extensible, llvm-jit
Score: 8.0/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 7)
Lime is a runtime-extensible LALR(1) parser generator that allows loading and unloading grammar extensions at runtime without recompilation, addressing a key gap in existing parser generators. It features SIMD-accelerated tokenization, optional LLVM JIT for action table lookups, and thread-safe design with copy-on-write snapshots, making it highly performant and suitable for database engines and language servers. Its single-file build and public domain license make it easy to embed.
Target audience: backend devs, database engineers, language implementers
Repository: https://codeberg.org/gregburd/lime
View on Hacker News