A Semantic Account of Type-Directed Partial Evaluation
DOI:
https://doi.org/10.7146/brics.v6i17.20074Abstract
We formally characterize partial evaluation of functional programsas a normalization problem in an equational theory, and derive
a type-based normalization-by-evaluation algorithm for computing
normal forms in this setting. We then establish the correctness
of this algorithm using a semantic argument based on Kripke
logical relations. For simplicity, the results are stated for a non-
strict, purely functional language; but the methods are directly
applicable to stating and proving correctness of type-directed partial
evaluation in ML-like languages as well.
Downloads
Published
1999-01-17
How to Cite
Filinski, A. (1999). A Semantic Account of Type-Directed Partial Evaluation. BRICS Report Series, 6(17). https://doi.org/10.7146/brics.v6i17.20074
Issue
Section
Articles
License
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.