Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T00:30:40.072Z Has data issue: false hasContentIssue false

A computational formalization for partial evaluation

Published online by Cambridge University Press:  01 October 1997

JOHN HATCLIFF
Affiliation:
Department of Computer Science, Oklahoma State University, 219 Mathematical Sciences, Stillwater, OK, 74078-1053, USA. E-mail: hatcliff@a.cs.okstate.edu
OLIVIER DANVY
Affiliation:
BRICS Basic Research in Computer Science, Centre of the Danish National Research Foundation., Department of Computer Science, Aarhus University, Ny Munkegade, Building 540, DK-8000 Aarhus C, Denmark. E-mail: danvy@brics.dk
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We formalize a partial evaluator for Eugenio Moggi's computational metalanguage. This formalization gives an evaluation-order independent view of binding-time analysis and program specialization, including a proper treatment of call unfolding. It also enables us to express the essence of ‘control-based binding-time improvements’ for let expressions. Specifically, we prove that the binding-time improvements given by ‘continuation-based specialization’ can be expressed in the metalanguage via monadic laws.

Information

Type
Research Article
Copyright
1997 Cambridge University Press