Skip to main navigation Skip to search Skip to main content

A Java-like Calculus with User-Defined Coeffects

Research output: Contribution to journalConference articlepeer-review

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 languageEnglish
Pages (from-to)66-78
Number of pages13
JournalCEUR Workshop Proceedings
Volume3284
Publication statusPublished - 2022
Event23rd Italian Conference on Theoretical Computer Science, ICTCS 2022 - Rome, Italy
Duration: 7 Sept 20229 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