~/talk

Inferring Typing Rules for Contextual Sugars

Talkat PEPM 2026 · 2026-01-11..01-17· [compilers-and-language-design]
name:Tailai Yu
links:none on file
links:none on file
name:Di Wang
links:none on file
links:none on file
slides:none on file

Algorithm infers typing rules for a class of contextual sugars by fusing sugaring rules with core-language typing and by performing early typing of templates; implementation produces surface-language rules that preserve abstraction and are sound with respect to typing of the resulting anchored terms. The paper formalizes context fusion and anchors to handle hygiene, proves soundness, reports incompleteness by design, and demonstrates the method on examples like pipe/hole and printf-style scattered sugars.

AI-written summary · about

  1. 0:00Contextual sugars intro
  2. 2:12Manual type checking limits
  3. 3:17Inferring rules from core language
  4. 6:09Context-sensitive sugars need
  5. 9:25Scattered sugarings with context
  6. 10:27Algorithm for typing rules
  7. 17:42Two-step process: fusion and typing
  8. 23:06Correctness and hygiene with anchors
  9. 24:53Summary of sugars and inference
  10. 25:55Q&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.