~/talk

asai: a Library for Compiler Diagnostics

Talkat WITS 2024 · on Saturday, 2024-01-20· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

asai is an OCaml library that generates structured and partly‑unstructured compiler diagnostics, using algebraic effects to build semantic, user‑level backtraces and supporting multi‑span highlights instead of single column offsets. it avoids visual Unicode width heuristics (publishes byte/UTF‑16 offsets for LSP), emits Googleable error codes, and composes across libraries. a working prototype exists, it renders to terminal and HTML backends, and has been adopted to generate a website and to drive a private type‑checker under development.

AI-written summary · about

  1. 0:00Asai introduction
  2. 1:04Designing compiler diagnostics
  3. 5:05User-friendly features
  4. 7:14Structured vs unstructured errors
  5. 10:28Compositionality in design
  6. 11:54Unicode challenges
  7. 18:20Tutorial API design
  8. 19:24Comparison with Grace
  9. 21:09Success stories
  10. 22:33Live demo
  11. 27:12Demo results
  12. 28:58Interaction with monads
  13. 29:19Q&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.