~/talk

The Implementations of Advanced LR Parser Algorithm

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

Implements the 2010 ILR algorithm inside the Ruby LR generator Yammer and ships as an option in the 0.7 branch (clone GitHub to avoid an experimental bug). Resolves mysterious conflicts by propagating lookahead annotations, splitting states on compatibility failures, and recalculating filtered lookahead sets. Engineering fixes—loop guards, caching, precomputed SCC, and pruning of unnecessary annotations—reduce parser-generation from effectively hours to about 1 minute. Generated ILR parsers produce automata that diff-identically match existing LLR output for compatibility.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:08Overview of Yammer and ILR
  3. 5:17LR parser basics and theory
  4. 7:23Shift-reduce conflicts and lookahead
  5. 11:35LLR vs ILR lookahead sets
  6. 16:30Conflicts in parser generation
  7. 17:12Pushdown automaton model
  8. 20:24Implementation details in Lyama
  9. 21:26ILR implementation fundamentals
  10. 23:33Compatibility in ILR states
  11. 26:20Debugging and performance issues
  12. 28:57Applying ILR to Ruby
  13. 30:39Future work and acknowledgments
~/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.