Published June 17, 2022 | Version v1
Conference paper Open

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

  • 1. ROR icon University of Malta

Description

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. 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.

Files

ICE22 - TaboneFrancalanza 2022.pdf

Files (300.1 kB)

Name Size Download all
md5:7485a1cc3e3031a2777ef002d48a3a74
300.1 kB Preview Download

Additional details

Related works

Is continued by
Journal article: 10.1016/J.JLAMP.2023.100891 (DOI)
Is derived from
Conference paper: 10.1145/3486601.3486708 (DOI)
Is supplemented by
Software: https://github.com/gertab/ElixirST (URL)

Funding

European Commission
BEHAPI - Behavioural Application Program Interfaces 778233