~/talk

Multi-Stage Programming with Generative and Analytical Macros

Talkat GPCE 2021 · 2021-10-17..10-18· [compilers-and-language-design]

Defines a formal lambda-triangle calculus that models generative and analytical macros, quote patterns, and separate compilation; implements it in Scala 3 implementation and proves preservation and progress so generated code is hygienic and well typed. The system internalizes compilation-stage persistence allowing macros to match compiled definitions, describes unlifting and bind-patterns that capture subexpressions as quoted lambdas, and shows macro expansion executes before moving staged terms to level 0.

AI-written summary · about

  1. 0:00Introduction to macro system
  2. 1:04Quotes, splices, and macros
  3. 2:50Lambda triangle calculus
  4. 4:52Typing and evaluation rules
  5. 6:28Quote pattern matching
  6. 9:19Compilation and conclusion
~/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.