~/talk

Strong Functional Pearl: Harper's Regular-Expression Matcher in Cedille

Talkat ICFP 2020 · 2020-08-23..08-26· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Implementation of Harper’s continuation-based regular-expression matcher in Cedille claims static termination on all inputs while using only standard polymorphic types — no dependent types, sized types, or termination proofs. It enforces standard regular expressions (no ε in R) and encodes continuations via a recursion universe (Mendler-style with a paramorphic nested recursion* variant). The Haskell matcher ports almost literally, Cedille type-checks and confirms termination, and the implementation runs as a direct, terminating replacement.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Harper's Regular Expression Matcher
  3. 1:16Implementation in Haskell
  4. 3:30The Problem of Termination
  5. 4:29This Pearl
  6. 5:26Strong FP in Cedille
  7. 6:44Mendler-Style Recursion Universe
  8. 8:35Mendler-Style Paramorphic Recursion Universe
  9. 9:32Mendler-Style Paramorphic Nested Recursion Universe
  10. 10:28Harper's Matcher in Cedille: Nested Recursion
  11. 11:46Harper's Matcher in Cedille, Solved!
  12. 12:59Conclusion
~/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.