~/talk

A Monadic Framework for Name Resolution in Multi-Phased Type Checkers

Talkat GPCE 2023 · 2023-10-22..10-23· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Paper builds a monadic interface for phased name resolution that detects and rejects subtle phasing errors by checking whether later-added bindings would shadow earlier resolutions. It encodes binding structure as scope graphs and exposes four operations (new-scope, edge, declare, query) so queries are guaranteed stable or fail. It composes AST-to-constraints using applicative functors into phased monadic computations, and ships working implementations for Mini-ML with Damas–Hindley–Milner inference and an LM module language with import-sensitive resolution; two case studies and artifacts are provided.

AI-written summary · about

  1. 0:00Monadic name resolution intro
  2. 1:09Why multiple phases needed
  3. 3:37Phasing errors in type checkers
  4. 5:44Monadic framework for name resolution
  5. 7:31Scope graphs for name binding
  6. 8:12Phase one: scoping structure
  7. 9:38Phase two: import resolution
  8. 10:40Phase three: type checking
  9. 12:47Monadic ops for scope graphs
  10. 13:13Detecting phasing errors
  11. 17:03Spec vs implementation gaps
  12. 20:17Applicative functors for phases
  13. 23:09Case studies: LM and HM inference
  14. 24:57Q&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.