From LALR to IELR: A Lrama's Next Step
summary
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
chapters (8)
- 0:00Introduction and self-introduction
- 1:51Overview of Llama and Lrama
- 4:34Lexer state management challenges
- 10:26Introduction to scannerless parsing
- 12:33IELR algorithm explained
- 16:31IELR implementation in Lrama
- 20:13Future goals and summary
- 21:44Acknowledgements and closing
related talks
15mFaster Reachability Analysis for LR(1) Parsers
29mHow does Lrama make the Ruby parser grammar G.O.A.T.?
22mLinker Relaxation in LLD
26mLiberating Ruby's Parser from Lexer Hacks
01h 06mSunday Lightning Talks
27mR Melts Brains -- An IR for First-Class Environments and Lazy Effectful Arguments
14mPerformance Interfaces for Hardware Accelerators
