~/talk

Generating a corpus of Hazel programs from ill-typed OCaml programs

Talkat TyDe 2025 · on Sunday, 2025-10-12· [compilers-and-language-design]
slides:none on file

A compiler translates OCaml programs into Hazel, producing a large corpus of both well‑typed and ill‑typed Hazel code by reusing OCaml packages and an undergraduate keystroke dataset; it uses Merlin type queries to extract polymorphic types and PPX AST transforms to rewrite syntax, and leverages typed holes to fill unsupported constructs so translated programs still run in the Hazel web editor. Modules and real‑world build artifacts currently block many packages, but the approach proves practical and the data is on GitHub/Zenodo.

AI-written summary · about

  1. 0:00Introduction
  2. 2:11Programs from other languages
  3. 5:21Hazel features and holes
  4. 8:45OCaml to Hazel translation
  5. 12:24Use cases from ill-typed OCaml
  6. 15:54Transformation tools
  7. 17:39Hazel limitations
  8. 19:23Future research
  9. 21:21Q&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.