~/talk

From LALR to IELR: A Lrama's Next Step

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, compilers-and-language-design]
links:none on file
slides:none on file

Lrama gains an IELR implementation that detects and re-splits hazardous LALR merges to match Canonical LR lookahead power, aiming to enable scannerless PSLR later and remove manual lexer state hacks. The change is a working draft pull request of about 250–300 lines that runs a breadth‑first propagation via split_states and compute_state, uses a compatible? check on propagated lookaheads, and currently produces a rough but functioning parser table.

AI-written summary · about

  1. 0:00Introduction and self-introduction
  2. 1:51Overview of Llama and Lrama
  3. 4:34Lexer state management challenges
  4. 10:26Introduction to scannerless parsing
  5. 12:33IELR algorithm explained
  6. 16:31IELR implementation in Lrama
  7. 20:13Future goals and summary
  8. 21:44Acknowledgements and closing
~/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.