Abstract
We propose a Java-like calculus where declared variables can be annotated by coeffects specifying constraints on their use, such as linearity or privacy levels. Annotations are written in the language itself, as expressions of type Coeffect, a predefined class which can be extended by user-defined subclasses, modeling the coeffects desired for a specific application. We formalize the type system and prove subject reduction, which includes preservation of coeffects, and show several examples.
| Original language | English |
|---|---|
| Pages (from-to) | 66-78 |
| Number of pages | 13 |
| Journal | CEUR Workshop Proceedings |
| Volume | 3284 |
| Publication status | Published - 2022 |
| Event | 23rd Italian Conference on Theoretical Computer Science, ICTCS 2022 - Rome, Italy Duration: 7 Sept 2022 → 9 Sept 2022 |
Keywords
- Java-like languages
- operational semantics
- type systems
Fingerprint
Dive into the research topics of 'A Java-like Calculus with User-Defined Coeffects'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver