Tag
DuckDB v2.0 replaces its PostgreSQL-derived SQL parser with a PEG-based parser that is easier to evolve and can be extended at runtime.
PostHog's engineer used multiple long-running Claude Code sessions to rewrite their SQL parser, achieving a 70x speedup over the previous ANTLR-based parser, while barely looking at the code themselves.