An Operational Investigation of the CPS Hierarchy

Olivier Danvy, Zhe Yang

    Research output: Contribution to journal/Conference contribution in journal/Contribution to newspaperJournal articleResearch

    Abstract

    We explore the hierarchy of control induced by successive transformations into continuation-passing style (CPS) in the presence of “control delimiters ” and “composable continuations ”. Specifically, we investigate the structural operational semantics associated with the CPS hierarchy.
    To this end, we characterize an operational notion of continuation semantics. We relate it to the traditional CPS transformation and we use it to account for the control operator shift and the control delimiter reset operationally. We then transcribe the resulting continuation semantics in ML, thus obtaining a native and modular implementation of the entire hierarchy. We illustrate it with several examples, the most significant of which is layered monads.
    Original languageEnglish
    Book seriesB R I C S Report Series
    IssueRS-98-35
    ISSN0909-0878
    Publication statusPublished - 1998

    Fingerprint

    Dive into the research topics of 'An Operational Investigation of the CPS Hierarchy'. Together they form a unique fingerprint.

    Cite this