~/talk

MacoCaml: Staging Composable and Compilable Macros

Talkat ICFP 2023 · 2023-09-04..09-09· [compilers-and-language-design]
name:Leo White
links:none on file
links:none on file
links:none on file
slides:none on file

MacoCaml implements compile‑time code generation inside the OCaml compiler, treating macros as compile-time bindings and using quotation/splice staging so compile evaluation runs only in top-level splices. The work formalizes a typed calculus maco with references and modules, proves type soundness and a novel phase distinction theorem that compile-time state cannot leak to runtime, and ships an implementation with artifacts evaluated and two nontrivial libraries ported (stream fusion and formatting) to validate the design.

AI-written summary · about

  1. 0:00MacroCaml introduction
  2. 1:50Staging and macros unified
  3. 10:00Macro calculus formalization
  4. 17:53Implementation and porting
  5. 23:08Summary and Q&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.