~/talk

Moebius: Metaprogramming using Contextual Types

Talkat POPL 2022 · 2022-01-16..01-22· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Moebius provides a formal metaprogramming core: a multi-level contextual modal lambda-calculus that generates System F–style polymorphic code, lets open code depend on both term/type variables and higher-level code templates, and supports pattern matching on polymorphic code. The system emits and tracks typing constraints when patterns refine type variables, gives operational semantics, and proves type preservation. Examples show reduced redundant staging redexes and direct code-template substitution; implementation and optimizer work remain future steps.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Tension between features and typesafeties
  3. 2:05Overview
  4. 2:51Contextual Model
  5. 3:42Calculus
  6. 5:01Code fragment
  7. 7:26Code template
  8. 9:44Local context
  9. 15:17Type Refinement
  10. 19:52Questions
~/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.