Inference of Session Types From Control Flow

  • Authors:
  • Peter Collingbourne;Paul H. J. Kelly

  • Affiliations:
  • Department of Computing, Imperial College London, London, SW7 2AZ, United Kingdom;Department of Computing, Imperial College London, London, SW7 2AZ, United Kingdom

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This is a study of a technique for deriving the session type of a program written in a statically typed imperative language from its control flow. We impose on our unlabelled session type syntax a well-formedness constraint based upon normalisation and explore the effects thereof. We present our inference algorithm declaratively and in a form suitable for implementation, and illustrate it with examples. We then present an implementation of the algorithm using a program analysis and transformation toolkit.