Reirb: Reborn Irb
summary
Reirb is a rebuilt interactive Ruby shell that already runs and demos job suspension with Ctrl‑Z, a ripper-based parsing approach to detect top‑level expression completion, and a pipeline that wires external command stdout into Ruby methods. It reuses much of an existing REPL codebase, implements job control via set_trace_func to pause threads, and ships a multiline editor with history and smart completion; completion and parser edge cases remain works in progress.
AI-written summary · about
chapters (16)
- 0:00Introduction to Reirb
- 1:15Current state of IRB
- 2:18Why Reirb was created
- 3:04Features of Reirb
- 8:10Multiline editing in Reirb
- 11:43Reirb's architecture
- 13:11Lexer vs parser in IRB
- 16:57Using Ripper in Reirb
- 24:54Naming and pronunciation
- 25:40Job control in Reirb
- 29:51Multi-line input features
- 33:09Message and status features
- 34:25Terminal control in Reirb
- 35:53Formula identification in editing
- 37:52Completion features
- 40:43Future plans for Reirb
related talks
44mIrb 20th anniversary memorial session: Reish and Irb2
32mUsage and implementation of Reish which is an Unix shell for Rubyist
44mRev, Revactor, Reia
32mREPL, do you speak it
36mTechnical Background of Interactive CLI of Ruby 2.7
34mPry-- The Good Parts!
30mExploring Reline: Enhancing Command Line Usability
37mRuby Parser In IRB 20th Anniversary...Now Let Time Resume
