ASPfun: A typed functional active object calculus

  • Authors:
  • Ludovic Henrio;Florian Kammüller;Bianca Lutz

  • Affiliations:
  • CNRSI3SUniv. Nice Sophia-AntipolisINRIA, Sophia-Antipolis, France;Middlesex University, London, UK and Technische Universität Berlin, Germany;Technische Universität Berlin, Germany

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper provides a sound foundation for autonomous objects communicating by remote method invocations and futures. As a distributed extension of @s-calculus we define ASP"f"u"n, a calculus of functional objects, behaving autonomously and communicating by a request-reply mechanism: requests are method calls handled asynchronously and futures represent awaited results for requests. This results in an object language enabling a concise representation of a set of active objects interacting by asynchronous method invocations. This paper first presents the ASP"f"u"n calculus and its semantics. Then, we provide a type system for ASP"f"u"n which guarantees the ''progress'' property. Most importantly, ASP"f"u"n has been formalised; its properties have been formalised and proved using the Isabelle theorem prover and we consider this as an important step in the formalization of distributed languages. This work was also an opportunity to study different binder representations and experiment with two of them in the Isabelle/HOL theorem prover.