Rewriting the Ruby Parser

Oct 20, 2023

A team from shopify has rewritten the ruby parser from a bison-generated parser into a hand-written recursive descent parser, and it's going to become the parser for the main ruby interpreter.

The article goes into depth on why they're rewriting it, why they chose to write a hand-written parser, error recovery, and lots of other interesting topics.

↑ up