~/talk

Dissecting and Reconstructing Ruby Syntactic Structures

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, compilers-and-language-design]
slides:none on file

Describes a concrete refactor of Ruby grammar: switching the parser generator to Ryama, adding node location info via ParseY, and introducing %rule parameterization to factor repeated BNF patterns. Claims the change reduces duplication and fixes a top-level operator-assignment ambiguity by moving arg handling into a parameterized op-assign rule. Works on master (patch merged). Surprising scale numbers: about 16,000 files in the codebase and roughly 162 terminal symbol types.

AI-written summary · about

  1. 0:00Introduction and self-introduction
  2. 3:51What is grammar and syntax
  3. 6:53Ruby parser generators
  4. 11:53Ruby’s grammar structure
  5. 18:53Reconstructing Ruby’s grammar
  6. 24:13Conclusion and future work
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.