Ulrich Schöpp - On the Relation of Interaction Semantics to Continuations and Defunctionalization

lmcs:977 - Logical Methods in Computer Science, December 16, 2014, Volume 10, Issue 4 - https://doi.org/10.2168/LMCS-10(4:10)2014
On the Relation of Interaction Semantics to Continuations and DefunctionalizationArticle

Authors: Ulrich Schöpp

    In game semantics and related approaches to programming language semantics, programs are modelled by interaction dialogues. Such models have recently been used in the design of new compilation methods, e.g. for hardware synthesis or for programming with sublinear space. This paper relates such semantically motivated non-standard compilation methods to more standard techniques in the compilation of functional programming languages, namely continuation passing and defunctionalization. We first show for the linear {\lambda}-calculus that interpretation in a model of computation by interaction can be described as a call-by-name CPS-translation followed by a defunctionalization procedure that takes into account control-flow information. We then establish a relation between these two compilation methods for the simply-typed {\lambda}-calculus and end by considering recursion.


    Volume: Volume 10, Issue 4
    Published on: December 16, 2014
    Imported on: December 30, 2013
    Keywords: Computer Science - Logic in Computer Science

    5 Documents citing this article

    Consultation statistics

    This page has been seen 1499 times.
    This article's PDF has been downloaded 481 times.