~/talk

First-class Algebraic Presentations with Elaborator Reflection (Extended Abstract)

Talkat TyDe 2024 · on Friday, 2024-09-06· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Library for Idris 2 that reinterprets fragments of host syntax at compile time to give user-definable deeply embedded many-sorted algebras without changing Idris 2. Uses elaborator reflection to quote code, infer missing pieces, and expand syntax into constructors and operations including sized monoid with technically infinitely many operations. Provides interp interface and model proofs so terms evaluate to vectors, theories yield proof obligations using heterogeneous equality, and the library compiles and runs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Motivation for embedded languages
  3. 1:27Algebraic presentations overview
  4. 3:12Encoding algebraic syntax challenges
  5. 4:39Ergonomic syntax with elaborator reflection
  6. 5:00Elaboration in Idris 2
  7. 6:28Elaborator reflection and syntax quoting
  8. 7:09Embedded syntax with elaboration scripts
  9. 8:14Defining terms in algebraic syntax
  10. 9:40Idris 2 level functions
  11. 11:05Interpreting terms with interp
  12. 12:53Evaluating terms in a model
  13. 13:37Equation proofs with theories
  14. 15:24Modeling theories with dependent types
  15. 15:44Summary and library availability
  16. 16:48Q&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.