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.
Lingua originale | Inglese |
---|---|
Pagine | 66-78 |
Numero di pagine | 13 |
Stato di pubblicazione | Pubblicato - 2022 |
Evento | ICTCS - Roma Durata: 1 gen 2022 → … |
???event.eventtypes.event.conference???
???event.eventtypes.event.conference??? | ICTCS |
---|---|
Città | Roma |
Periodo | 1/01/22 → … |
Keywords
- type systems
- operational semantics
- Java-like languages