~/talk

Adventures in extending miniKanren

Talkat miniKanren 2021 · 2021-08-26..08-27· [compilers-and-language-design]
slides:none on file

Adds a stage miniKanren interpreter that turns interpreters into compilers and an SMT-backed CLP SMT extension by augmenting the miniKanren state with extra fields; implements both in the faster miniKanren codebase and demo repos. Key results: a Prolog-like baseline synthesis run takes ~8s, the staged pipeline generates code in ~0.05s and completes synthesis in ~0.5s, while the direct CLP(SMT) version spends ~32s due to frequent solver calls. The extensions work and the state-extension pattern is small and mechanical.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Agenda
  3. 0:57Syntax
  4. 13:19Stage interpreter
  5. 15:35Stage interpreter example
  6. 17:52Stage relation interpreter
  7. 22:57Closures interpreter
  8. 24:07Benchmarks
  9. 26:51clp smt
  10. 33:59fastminicameron
  11. 37:08stageminicameron
  12. 41:06outro
~/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.