Schedule

tomoya ishida
tomoya ishida

TRICK 2022 Gold Medalist. Ruby committer. Maintainer of IRB, Reline, ReplTypeCompletor. CTO at codeTakt Inc.

Analyzing Ruby Code in IRB

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.