Parameterized Algebraic Protocols

04/07/2023
by   Andreia Mordido, et al.
0

We propose algebraic protocols that enable the definition of protocol templates and session types analogous to the definition of domain-specific types with algebraic datatypes. Parameterized algebraic protocols subsume all regular as well as most context-free and nested session types and, at the same time, replace the expensive superlinear algorithms for type checking by a nominal check that runs in linear time. Algebraic protocols in combination with polymorphism increase expressiveness and modularity by facilitating new ways of parameterizing and composing session types.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/12/2021

Polymorphic Context-free Session Types

Context-free session types provide a typing discipline for recursive str...
research
10/13/2020

Nested Session Types

Session types statically describe communication protocols between concur...
research
05/06/2023

On the usefulness of linear types for correct nonce use enforcement during compile time

Cryptographic algorithms and protocols often need unique random numbers ...
research
11/11/2020

Session Coalgebras: A Coalgebraic View on Session Types and Communication Protocols

Compositional methods are central to the development and verification of...
research
09/28/2020

Ferrite: A Judgmental Embedding of Session Types in Rust

This article introduces Ferrite, a shallow embedding of session types in...
research
07/11/2023

Subtyping Context-Free Session Types

Context-free session types describe structured patterns of communication...
research
02/09/2021

Synchronous Forwarders

Session types are types for specifying protocols that processes must fol...

Please sign up or login with your details

Forgot password? Click here to reset