~/talk

Typed, Concise, Nanopass (pick 3) (Extended Abstract)

Talkat TyDe 2024 · on Friday, 2024-09-06· [compilers-and-language-design]
links:none on file
slides:none on file

Shows how to get a typed, concise, nanopass compiler by replacing recursive lists with a custom indexed args type and a single generic map traversal, moving head-specific checks into an expression type parameter so each pass stays small and proofs (round‑trip and idempotence-ish) remain constant‑size. Claims O(K+M) code where K is constructors and M is passes, but notes large constant glue factors and a conflation of modularity with nanopass architecture; prototype scale is modest and the work is ongoing.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Maintainable compiler goals
  3. 1:02Compilers from first principles
  4. 3:07Monolithic compiler problem
  5. 3:28Nanopass architecture
  6. 4:31Boilerplate cost
  7. 5:14Simplifying traversals
  8. 7:00Conciseness versus type safety
  9. 8:02Type safety with indexed args
  10. 10:32Refactoring to typed compiler
  11. 11:35Modularity proof challenges
  12. 12:40Verbose proofs issue
  13. 14:02Postponing case splits
  14. 15:28Final compiler design
  15. 16:29Summary
  16. 17:34Q&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.