Staged compilation with two-level type theory.
- ICFP 2024 paper. Code supplement.
- ICFP 2022 paper. Includes a proof of correctness of staging. Appendix. Demo implementation, together with a tutorial and some code examples. Has an efficient staging implementation and powerful inference for stage annotations.
Older material, somewhat obsolete now: