Properties of Java Simple Closures

  • Authors:
  • Marco Bellia;M. Eugenia Occhiuto

  • Affiliations:
  • Dipartimento di Informatica, Università/ di Pisa, Largo B. Pontecorvo, 3, I-56127 Pisa, Italy. bellia@di.unipi.it / occhiuto@di.unipi.it;Dipartimento di Informatica, Università/ di Pisa, Largo B. Pontecorvo, 3, I-56127 Pisa, Italy. bellia@di.unipi.it / occhiuto@di.unipi.it

  • Venue:
  • Fundamenta Informaticae - Concurrency Specification and Programming (CS&P)
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the last years, the Java community has been arguing about adding closures to Java in order to improve expressivity. The debate has not yet terminated but all proposals seem to converge towards a notion of Simple Closures which contain only the essential features of anonymous functions. This paper addresses the problem of defining a rigorous semantics for Simple Closures. The technique adopted is well known and has already been used to prove interesting properties of other extensions of Java. A minimal calculus is defined: Featherweight Java extended with Simple Closures. Syntax and semantics of such a calculus are defined and type safety, backward compatibility, and the abstraction property are proved.