~/talk

Make Parsers Compatible Using Automata Learning

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [compilers-and-language-design, ruby]
links:none on file
slides:none on file

Two Ruby parsers (parsed.y ~16,000 lines and Prism) get modeled as automata by using active learning and a VPA approximation; a Ruby library called Lernen learns over a restricted alphabet (a, :, [, ]) with visibly pushdown automata and exports graphs. The learned models are compared via symmetric difference and the library’s findSeparatingWord returns concrete inputs; this process discovers a real Prism vs parsed.y discrepancy which is reported and fixed.

AI-written summary · about

  1. 0:00Introduction
  2. 2:17Ruby parsers Prism and parsed.y
  3. 8:14Automaton theory basics
  4. 14:37Automata learning L-star
  5. 22:39Visibly pushdown automata
  6. 23:04Lernen library demo
  7. 26:44Finding parser compatibility bug
  8. 27:27Practical applications of learning
  9. 28:37Future research goals
  10. 30:30Q&A and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.