~/talk

Parsing and generating SQLite's SQL dialect with Ruby

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, databases]
slides:none on file

Plume is a pure-Ruby SQL toolset that parses SQLite’s permissive dialect (including missing commas between table constraints) and generates SQL; it implements a handwritten recursive descent parser with a lexer, lazy token spans and minimal allocations, and already validates against 20,000+ test statements scraped from SQLite’s public suite. The concrete syntax tree exposes offsets for lazy value extraction and supports SQL generation via a fluid Ruby API and an experimental hash-based SQL representation; create table parsing is complete, expression and SELECT parsing remain in progress.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 8:17How Plume works
  3. 13:16Parsing create table statements
  4. 20:44What's next for Plume
  5. 27:46Call to action 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.