An Approach to Call-by-Name Delimited Continuations - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2008

An Approach to Call-by-Name Delimited Continuations

Résumé

We show that a variant of Parigot's λμ-calculus, originally due to de Groote and proved to satisfy Böhm's theorem by Saurin, is canonically interpretable as a call-by-name calculus of delim- ited control. This observation is expressed using Ariola et al's call-by-value calculus of delimited control, an extension of λμ-calculus with delimited control known to be equationally equivalent to Danvy and Filinski's calculus with shift and reset. Our main result then is that de Groote and Saurin's variant of λμ-calculus is equivalent to a canonical call-by-name variant of Ariola et al's calculus. The rest of the paper is devoted to a comparative study of the call-by-name and call-by-value variants of Ariola et al's calculus, covering in particular the questions of simple typing, operational semantics, and continuation-passing-style semantics. Finally, we discuss the relevance of Ariola et al's calculus as a uniform framework for representing different calculi of delimited continuations, including "lazy" variants such as Sabry's shift and lazy reset calculus.
Fichier principal
Vignette du fichier
popl-HerGhi08-cbn-delim.pdf (209.2 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00524949 , version 1 (29-10-2010)

Identifiants

Citer

Hugo Herbelin, Silvia Ghilezan. An Approach to Call-by-Name Delimited Continuations. Symposium on Principles of Programming Languages, Jan 2008, San Francisco, United States. pp.383-394, ⟨10.1145/1328438.1328484⟩. ⟨inria-00524949⟩
197 Consultations
326 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More