Game semantics and linear CPS interpretation

  • Authors:
  • J. Laird

  • Affiliations:
  • Department of Informatics, University of Sussex, Sussex, UK

  • Venue:
  • Theoretical Computer Science - Foundations of software science and computation structures
  • Year:
  • 2005

Quantified Score

Hi-index 0.01

Visualization

Abstract

We present a semantic analysis of the "linearly used continuation-passing interpretation" of functional languages, based on game semantics. This consists of a category of games with a coherence condition on moves--yielding a fully complete model of an affine-type theory--and a syntax-independent and full embedding of a category of Hyland-Ong/Nickau-style "well-bracketed" games into it. We show that this embedding corresponds precisely to linear CPS interpretation in its action on a games model of call-by-value PCF, yielding a proof of full abstraction for the associated translation. We discuss extensions of the semantics to deal with recursive types, call-by-name evaluation, nonlocal jumps, and state.