Hacker News new | ask | show | jobs
Show HN: Lime, a parser generator that can merge grammars at runtime (codeberg.org)
2 points by gregburd 30 days ago
Lime is a new parser generator similar to Yacc, Bison, ANTLR, etc. except it's faster and has the ability to merge or remove grammars at runtime. See the 'calc' example that starts knowing + and - but then adds ^ for exponent, then adds ^ again for bitwise or. That can't work, right?