~/talk

How to *be* a Compiler

Talkat Strange Loop 2017 · 2017-09-28..09-30· [creative-coding]
slides:none on file

Shows how to compile 3 lines of Design by Numbers into a hand drawing by implementing concrete steps: a JavaScript lexer that tokenize → parse → transform → generate an AST and emit SVG, using a parser generator called Texas and a live demo named SVG by numbers. Cites a 40‑day self‑hosting C compiler as motivation. The demo runs in the browser, highlights tokens and AST transforms, and reports parser errors, so the pipeline actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 5:35What is Knitting
  3. 13:57Why Compiler and DSL
  4. 23:45How to be a Compiler
  5. 30:44Suggestion
  6. 30:54JavaScript
  7. 31:09Language
  8. 33:34Conclusion
  9. 34:05Start Small
  10. 34:32Be a good parser
  11. 36:03Context is everything
~/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.