R.I.P.
๐ป
Ghosted
Type System for Four Delimited Control Operators
May 04, 2023 ยท Entered Twilight ยท ๐ International Conference on Generative Programming: Concepts and Experiences
Repo contents: .gitignore, README.md, code
Authors
Chiaki Ishio, Kenichi Asai
arXiv ID
2305.02852
Category
cs.PL: Programming Languages
Citations
4
Venue
International Conference on Generative Programming: Concepts and Experiences
Repository
https://github.com/chiaki-i/type4d
โญ 3
Last Checked
3 months ago
Abstract
The operational behavior of control operators has been studied comprehensively in the past few decades, but type systems of control operators have not. There are distinct type systems for shift, control, and shift0 without any relationship between them, and there has not been a type system that directly corresponds to control0. This paper remedies this situation by giving a uniform type system for all the four control operators. Following Danvy and Filinski's approach, we derive a monomorphic type system from the CPS interpreter that defines the operational semantics of the four control operators. By implementing the typed CPS interpreter in Agda, we show that the CPS translation preserves types and that the calculus with all the four control operators is terminating. Furthermore, we show the relationship between our type system and the previous type systems for shift, control, and shift0.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Programming Languages
R.I.P.
๐ป
Ghosted
Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractions
R.I.P.
๐ป
Ghosted
Glow: Graph Lowering Compiler Techniques for Neural Networks
R.I.P.
๐ป
Ghosted
Learnable Programming: Blocks and Beyond
R.I.P.
๐ป
Ghosted
Scenic: A Language for Scenario Specification and Scene Generation
R.I.P.
๐ป
Ghosted