Combining and relating control effects and their semantics

Research output: Contribution to journalArticle

Abstract

Combining local exceptions and first class continuations leads to programs with complex control flow, as well as the possibility of expressing powerful constructs such as resumable exceptions. We describe and compare games models for a programming language which includes these features, as well as higher-order references. They are obtained by contrasting methodologies: by annotating sequences of moves with "control pointers" indicating where exceptions are thrown and caught, and by composing the exceptions and continuations monads. The former approach allows an explicit representation of control flow in games for exceptions, and hence a straightforward proof of definability (full abstraction) by factorization, as well as offering the possibility of a semantic approach to control flow analysis of exception-handling. However, establishing soundness of such a concrete and complex model is a non-trivial problem. It may be resolved by establishing a correspondence with the monad semantics, based on erasing explicit exception moves and replacing them with control pointers.
Original languageEnglish
JournalEPTCS
DOIs
Publication statusPublished - 5 Sep 2013

Keywords

  • cs.LO
  • cs.PL
  • F.3.2, F.3.3

Fingerprint Dive into the research topics of 'Combining and relating control effects and their semantics'. Together they form a unique fingerprint.

  • Projects

  • Cite this