~/talk

Building My First Lisp Compiler

Talkat Code Mesh LDN 2020 · 2020-11-05..11-06· [compilers-and-language-design]
slides:none on file

Five years of work produce MAGIC, a Clojure-written compiler that MAGIC compiles Clojure to CLR bytecode, bootstraps itself and bootstrapped and passes Clojure test-suite, aimed at Unity/Arcadia and funded for final work by Flybot. Implementation choices: emitter-first workflow, an introspection tool inspired by SharpLab, and a symbolic bytecode (mage) immutable IR that makes emission pure data. Remaining pain points: analysis arrives late (need lowering passes), platform quirks like ECMA stack-empty for try and il2cpp crashing on code after throw.

AI-written summary · about

  1. 0:00Intro
  2. 0:38What is Magic
  3. 2:52Structure
  4. 10:25What Worked
  5. 12:37Workflow
  6. 14:50Symbolic bytecode
  7. 18:02Rethink the analyzer
  8. 22:25Keep the compiler interesting
  9. 23:50Build your own API
  10. 26:00Source of Complexity
  11. 28:36Source Language
  12. 30:27Tooling
  13. 33:17Conclusion
~/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.