~/talk

Type-Sensitive Algebraic Macros

Talkat PEPM 2025 · on Tuesday, 2025-01-21· [compilers-and-language-design]
links:none on file
slides:none on file

Claims a type-sensitive algebraic theory that directly encodes typechecking and elaboration for STλC, plus concrete variants: Bidirectional STλC and search-based type inference, all implemented as macros in Agda and exposed in a GitHub playground. Macros are algebraic operations (intro, goal, has, hole) composed with algebraic effects and handlers to swap checkers versus elaborators, and a meta-variable unification API (new, unify, choice) implements Prolog-style tactics. Equations are stated but not yet fully proved; System M and dependent-type extensions are in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Speaker introduction
  3. 1:04STLC background
  4. 1:24Type checker with algebra
  5. 2:49Macros in type checker
  6. 3:11Type-sensitive macros
  7. 5:00Higher-order syntax in Agda
  8. 5:23Extending macros to elaboration
  9. 6:06Bidirectional type checking
  10. 7:33Type theories algebra
  11. 8:18Macros in unification system
  12. 9:47Future work beyond STLC
  13. 10:32Resources and implementation
  14. 11:15Q&A: Motivation
  15. 12:17Q&A: Algebraic effects
  16. 12:40Q&A: Applicative vs monadic
  17. 14:08Closing remarks
~/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.