How does Lrama make the Ruby parser grammar G.O.A.T.?
Yudai Takada • September 13, 2024 • Sarajevo, Bosnia and Herzegovina • Talk
The Ruby parser has historically been hacked in many complex ways. As a result, the files that define Ruby syntax and its capabilities are complex enough to be called the Demon Castle.
In Ruby 3.3, Lrama now generates Ruby parsers instead of GNU Bison, which generated the Ruby parser. In this talk, I'll show you why we are developing Lrama and how it improves the complex syntax definitions of Ruby.
In particular, this talk will show you how the syntax definition file syntax in Ruby has been improved to be G.O.A.T. This talk also covers the basics of parsers and parser generators, as well as the current state of the Ruby parser. Therefore, I plan to make the talk easier to understand for an audience that doesn't know much about Ruby parsers.
EuRuKo 2024