Towards type-directed compiler calculation

Publication date

2025-09-15

Authors

Swierstra, WouterORCID 0000-0002-0295-7944ISNI 0000000426852359

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

taverne

Abstract

This paper explores a principled approach to calculating abstract machines and associated compilers, starting from an intrinsically typed interpreter. After deriving a compiler for a simple expression language in some detail, the first steps of this calculation are repeated to derive an optimizing evaluator for the simply typed lambda calculus.

Keywords

Software

Citation

Swierstra, W 2025, 'Towards type-directed compiler calculation', Journal of Functional Programming, vol. 35, e20. https://doi.org/10.1017/S0956796825100087