Journal of Functional Programming · 1998 · 119 citations · 17 references
ComputingComputer ScienceLogicProgramming LanguagesTheory Of ComputationFormal SemanticsModel TheoryType SystemsAbstract MachinesContinuation SemanticsDenotational ModelsLambda CalculusLambda Calculus SemanticsModel-theoretic Semantics
One of the goals of this paper is to demonstrate that denotational semantics is useful for operational issues like implementation of functional languages by abstract machines. This is exemplified in a tutorial way by studying the case of extensional untyped call-by-name λ-calculus with Felleisen's control operator [Cscr ]. We derive the transition rules for an abstract machine from a continuation semantics which appears as a generalization of the ¬¬-translation known from logic. The resulting abstract machine appears as an extension of Krivine's machine implementing head reduction. Though the result, namely Krivine's machine, is well known our method of deriving it from continuation semantics is new and applicable to other languages (as e.g. call-by-value variants). Further new results are that Scott's D ∞ -models are all instances of continuation models. Moreover, we extend our continuation semantics to Parigot's λμ-calculus from which we derive an extension of Krivine's machine for λμ-calculus. The relation between continuation semantics and the abstract machines is made precise by proving computational adequacy results employing an elegant method introduced by Pitts.
17
Notions of computation and monads
Eugenio Moggi · Information and Computation · 1991 · 1.7K citations
Call-by-name, call-by-value and the λ-calculus
Gordon Plotkin · Theoretical Computer Science · 1975 · 1.2K citations
Definitional interpreters for higher-order programming languages
John Reynolds · 1972 · 668 citations
Harold T. Hodes, Henk Barendregt · The Philosophical Review · 1988 · 567 citations