Ditching ANTLR: How PostHog Rebuilt Its SQL Parser for a 70x Speedup
PostHog engineer Robbie Coomber rebuilt the company's SQL parser using AI agents, replacing an ANTLR-generated parser with a hand-rolled recursive-descent parser that runs 70 times faster. The project used parallel Claud…