~/talk

A compilation method for dynamic typing in ML

Talkat APLAS 2021 · 2021-10-17..10-22· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Presents a systematic compilation method that adds first-class dynamic typing to ML and ships in SML# 4.0.0. Uses type-directed compilation with type-tag passing and runtime generation of type tags, extends the framework with existential reification to handle locally bound type variables, and reifies ground values to user-level datatypes. Supports ML features intact: polymorphic type inference, user datatypes, pattern matching. Implements polymorphic pretty-printer, polymorphic JSON deserialization, type-safe DB interfaces and type-safe metaprogramming, and the implementation works.

AI-written summary · about

  1. 0:00Motivations and the Goal
  2. 0:44Review of Dynamic Typing
  3. 1:22ML with orthogonal Dynamic Typing (overview) IV
  4. 3:25Contribution: Reification of Ground Types and Values
  5. 4:50Contribution: Record Compilation Method for Dynamic Typing
  6. 8:07The Source Calculus
  7. 8:38The Target Calculus II
  8. 9:15Operational Semantics and Type Soundness
  9. 10:04Type Soundness of Compilation
  10. 10:39Full Implementation in SML# Syntax and supporting structure Dynandc
  11. 11:48Example: Pretty Printing
  12. 12:36Example: JSON
  13. 13:42Example : Meta-programming II
~/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.