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

Date: April 18, 2025
Published: Tue, 27 May 2025 00:00:00 +0000
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
ahogappa
Koichiro Eto
Aaron Patterson
Shugo Maeda
Samuel Giddins
Maxime Chevalier-Boisvert
Mari Imaizumi
Yukihiro "Matz" Matsumoto
+66