Session Fidelity for ElixirST: A Session-Based Type System for Elixir Modules

Gerard Tabone, Adrian Francalanza
8/9/2022
cs.PLcs.LOcs.SE

Official code: gertab/ElixirST (48 stars, Elixir, GPL-3.0, last commit 2023-09-23).

Abstract

This paper builds on prior work investigating the adaptation of session types to provide behavioural information about Elixir modules. A type system called ElixirST has been constructed to statically determine whether functions in an Elixir module observe their endpoint specifications, expressed as session types; a corresponding tool automating this typechecking has also been constructed.

Show full abstract

In this paper we formally validate this type system. An LTS-based operational semantics for the language fragment supported by the type system is developed, modelling its runtime behaviour when invoked by the module client. This operational semantics is then used to prove session fidelity for ElixirST.

View on arXivView PDF

Code Implementations(1)

gertab/ElixirSTOfficial100%
GPL-3.0

Session Types in Elixir

482Elixir, ErlangJan 11, 20213 years agoGPL-3.0
concurrencyelixirsession-types

Similar Papers

Cite this paper

@article{tabone2022session,
  title  = {Session Fidelity for ElixirST: A Session-Based Type System for Elixir Modules},
  author = {Gerard Tabone and Adrian Francalanza},
  year   = {2022},
  eprint = {2208.04631},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.04631}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.04631.svg)](https://codeofpaper.com/paper/2208.04631)

Discussion