Analyzing Ruby Code in IRB
Tomoya Ishida • Matsuyama, Ehime, Japan • Japanese • Talk

Date: April 18, 2025
Published: May 27, 2025
Announced: unknown

IRB analyzes the input code for many purposes: syntax highlighting, detecting termination of multiline input, auto-indent and completion. Some of them uses token-base, some uses syntax-tree based analysis. Let's explore why, how and what's interesting especially when IRB receives weird input code. In this talk, I will also show the strategy of making IRB more weird-code tolerant by migrating these analysis to use Prism.

https://rubykaigi.org/2025/presentations/tompng.html

RubyKaigi 2025

Explore all talks recorded at RubyKaigi 2025
+66