Project record1 mention
Originally shared on Hacker News
Recursive ascent LR(1) parser code generator
A code generator that produces recursive ascent parsers for LR(1) grammars, achieving linear-time parsing with reduced overhead and incorporating a set of optimizations described in accompanying blog posts.
01 / The problem
What it addresses
Existing recursive ascent parsers carry runtime parsing overhead.
02 / Source history
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Recursive ascent LR(1) parser code generator
A code generator that produces recursive ascent parsers for LR(1) grammars, achieving linear-time parsing with reduced overhead and incorporating a set of optimizations described in accompanying blog posts.
Problem: Existing recursive ascent parsers carry runtime parsing overhead.
Posted by @Apanatshka · Original source ↗
Source text · @Apanatshka · · Source ↗
I have a recursive ascent code generator with a bunch of optimisations that I wrote about [1,2]; it's a linear-time parser for LR(1) with reduced overhead.