A hierarchy for delimited continuations in call-by-name

  • Authors:
  • Alexis Saurin

  • Affiliations:
  • PPS & INRIA πr2

  • Venue:
  • FOSSACS'10 Proceedings of the 13th international conference on Foundations of Software Science and Computational Structures
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Λμ-calculus was introduced as a Böhm-complete extension of Parigot's λμ-calculus. Λμ-calculus, contrarily to Parigot's calculus, is a calculus of CBN delimited control as evidenced by Herbelin and Ghilezan. In their seminal paper on (CBV) delimited control, Danvy and Filinski introduced the CPS Hierarchy of control operators (shifti/reseti)i∈ω. In a similar way, we introduce in the present paper the Stream Hierarchy, a hierarchy of calculi extending and generalizing Λμ-calculus. The $(\Lambda^n)_{n\in\omega}$-calculi have Church-Rosser and Böhm theorems. We then present sound and complete CPS translations for the hierarchy. Next, we investigate the operational content of the hierarchy through its abstract machines, the $(\Lambda^n)_{n\in\omega}$-KAM. Finally, we establish that the Stream hierarchy is indeed a CBN analogue to the CPS hierarchy.