Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs 2020
DOI: 10.1145/3372885.3373818
|View full text |Cite
|
Sign up to set email alerts
|

Intrinsically-typed definitional interpreters for linear, session-typed languages

Abstract: An intrinsically-typed definitional interpreter is a concise specification of dynamic semantics, that is executable and type safe by construction. Unfortunately, scaling intrinsicallytyped definitional interpreters to more complicated object languages often results in definitions that are cluttered with manual proof work. For linearly-typed languages (including session-typed languages) one has to prove that the interpreter, as well as all the operations on semantic components, treat values linearly. We present… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
31
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
5
2
1

Relationship

1
7

Authors

Journals

citations
Cited by 26 publications
(31 citation statements)
references
References 32 publications
0
31
0
Order By: Relevance
“…The typing guarantees from these definitional interpreters ensure syntactic type safety of reduction with respect to the classic type systems for the languages they study. More recently, Rouvoet et al (2020) give an intrinsically typed definitional interpreter for a linearly typed language, which bears some resemblance (owing to its linearity) to the structure of our interpreter for CSL. Our approach is similar to both these works in spirit, with two notable differences.…”
Section: Related Workmentioning
confidence: 99%
“…The typing guarantees from these definitional interpreters ensure syntactic type safety of reduction with respect to the classic type systems for the languages they study. More recently, Rouvoet et al (2020) give an intrinsically typed definitional interpreter for a linearly typed language, which bears some resemblance (owing to its linearity) to the structure of our interpreter for CSL. Our approach is similar to both these works in spirit, with two notable differences.…”
Section: Related Workmentioning
confidence: 99%
“…While context splitting relates more closely with the model (Section 4) and other presentations of linear and session calculi, leftovers allow for simpler mechanizations. Rouvoet et al [27] describe a technique inspired by separation logic to specify and verify in Agda interpreters using linear resources. Among the case studies they discuss is a linearly-typed lambda calculus with primitives for session communications.…”
Section: Related Workmentioning
confidence: 99%
“…The costs consist of the burden that the proof imposes on the programmer and on the readability of the program. Previous work on intrinsically typed interpreters (for example [Augustsson and Carlsson 1999;Benton et al 2012;Poulsen et al 2018;Rouvoet et al 2020a]) has shown that intrinsically typed interpreters can sometimes achieve a favorable cost-benefit balance. In this paper we extend the state of the art to the definition of intrinsically typed compilers that target a low-level representation of bytecode with labels.…”
Section: Introductionmentioning
confidence: 99%
“…The co-context of the composition is simply the union of the exports and imports. Our representation is inspired by the nameless co-de-Bruijn representation of lexical binding by McBride [2018], and the nameless representation of linear references by Rouvoet et al [2020a].…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation