~/talk

The Elixir parser under the microscope

Talkat ElixirConf EU 2019 · 2019-04-08..04-09· [compilers-and-language-design]
slides:none on file

Shows how the Elixir parser is repurposed to turn source into AST to SQL fragments, and how a few-hundred-line interpreted “Elixir-ish” language and a bubble/filter DSL were built and deployed in production. Demonstrates the real drawback: parsing user input creates atoms and a non‑reversible AST (one app hit ~1,000,000 atoms), and presents a prototype atom-safe parser that preserves original source (non‑destructive) — work in progress but functional for SQL generation.

AI-written summary · about

  1. 0:00Introduction
  2. 3:22Parser DNA and AST
  3. 10:00Macros and post-processing
  4. 16:27Parser relaxation deep dive
  5. 24:01Lexer and token extraction
  6. 27:11Comments and whitespace
  7. 30:28Validation and errors
  8. 33:10Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.