staged
Staged compilation with two-level type theory.
This is a system for two-stage compilation with full dependent types at both stages; as far as I know, the first such system.
- 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: