We present an abstract machine and a reduction semantics for the
lambda-calculus extended with control operators that give access to delimited
continuations in the CPS hierarchy. The abstract machine is derived from an
evaluator in continuation-passing style (CPS); the reduction semantics (i.e., a
small-step operational semantics with an explicit representation of evaluation
contexts) is constructed from the abstract machine; and the control operators
are the shift and reset family. We also present new applications of delimited
continuations in the CPS hierarchy: finding list prefixes and normalization by
evaluation for a hierarchical language of units and products.
Filip Sieczkowski;Mateusz Pyzik;Dariusz Biernacki, 2023, A General Fine-Grained Reduction Theory for Effect Handlers, Proceedings of the ACM on Programming Languages, 7, ICFP, pp. 511-540, 10.1145/3607848, https://doi.org/10.1145/3607848.
Maciej Buszka;Dariusz Biernacki, arXiv (Cornell University), Automating the Functional Correspondence Between Higher-Order Evaluators and Abstract Machines, pp. 38-59, 2022, 10.1007/978-3-030-98869-2_3, https://arxiv.org/abs/2108.07132.
Dariusz Biernacki;Maciej Piróg;Piotr Polesiuk;Filip Sieczkowski, 2019, Abstracting algebraic effects, Proceedings of the ACM on Programming Languages, 3, POPL, pp. 1-28, 10.1145/3290319, https://doi.org/10.1145/3290319.
Guannan Wei;James Decker;Tiark Rompf, 2018, Refunctionalization of abstract abstract machines: bridging the gap between abstract abstract machines and abstract definitional interpreters (functional pearl), Proceedings of the ACM on Programming Languages, 2, ICFP, pp. 1-28, 10.1145/3236800, https://doi.org/10.1145/3236800.
Dariusz Biernacki;Maciej Piróg;Piotr Polesiuk;Filip Sieczkowski, 2017, Handle with care: relational interpretation of algebraic effects and handlers, Proceedings of the ACM on Programming Languages, 2, POPL, pp. 1-30, 10.1145/3158096, https://doi.org/10.1145/3158096.
Kenichi Asai;Chihiro Uehara, Proceedings of the ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, Selective CPS transformation for shift and reset, 2017, Los Angeles CA USA, 10.1145/3162069.
Kenichi Asai;Chihiro Uehara, Proceedings of the ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation - PEPM '18, Selective CPS transformation for shift and reset, 2017, Los Angeles, CA, USA, 10.1145/3175493.3162069.
Małgorzata Biernacka;Dariusz Biernacki;Sergueï Lenglet;Piotr Polesiuk;Damien Pous;et al., Fully abstract encodings of λ-calculus in HOcore through abstract machines, 2017, Reykjavik, Iceland, 10.1109/lics.2017.8005118, https://hal.inria.fr/hal-01507625.
Neil Sculthorpe;Paolo Torrini;Peter D. Mosses, 2016, A Modular Structural Operational Semantics for Delimited Continuations, arXiv (Cornell University), 212, pp. 63-80, 10.4204/eptcs.212.5.
Małgorzata Biernacka;Dariusz Biernacki;Sergueï Lenglet;Marek Materzok, 2013, Proving termination of evaluation for System F with control operators, arXiv (Cornell University), 127, pp. 15-29, 10.4204/eptcs.127.2.
Wojciech Jedynak;Małgorzata Biernacka;Dariusz Biernacki, Proceedings of the 15th Symposium on Principles and Practice of Declarative Programming, An operational foundation for the tactic language of Coq, pp. 25-36, 2013, Madrid Spain, 10.1145/2505879.2505890.
Álvaro García-Pérez;Pablo Nogueira;Juan José Moreno-Navarro, UPM Digital Archive (Technical University of Madrid), Deriving the full-reducing Krivine machine from the small-step operational semantics of normal order, pp. 85-96, 2013, Madrid Spain, 10.1145/2505879.2505887, http://oa.upm.es/30153/.
Asami Tanaka;Yukiyoshi Kameyama, Lecture notes in computer science, A Call-by-Name CPS Hierarchy, pp. 260-274, 2012, 10.1007/978-3-642-29822-6_21.
Marek Materzok;Dariusz Biernacki, Proceedings of the 16th ACM SIGPLAN international conference on Functional programming, Subtyping delimited continuations, 2011, Tokyo Japan, 10.1145/2034773.2034786.
Kenichi Asai;Arisa Kitani, Proceedings of the 12th international ACM SIGPLAN symposium on Principles and practice of declarative programming, Functional derivation of a virtual machine for delimited continuations, pp. 87-98, 2010, Hagenberg Austria, 10.1145/1836089.1836101.
Noam Zeilberger, Polarity and the Logic of Delimited Continuations, 2010, Edinburgh, United Kingdom, 10.1109/lics.2010.23.
Malgorzata Biernacka;Dariusz Biernacki, Proceedings of the 11th ACM SIGPLAN conference on Principles and practice of declarative programming, Context-based proofs of termination for typed delimited-control operators, pp. 289-300, 2009, Coimbra Portugal, 10.1145/1599410.1599446.
Oleg Kiselyov;Chung-chieh Shan, Lecture notes in computer science, A Substructural Type System for Delimited Continuations, pp. 223-239, 2007, 10.1007/978-3-540-73228-0_17.