The Equivalence of Reduction and Translation Semantics 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;(Correspd.) 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:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

FGCJ is a minimal core calculus that extends Featherweight Generic Java, FGJ, with lambda expressions for Java Simple Closures. It has been introduced to study, in a reduction semantics framework, properties of Java Simple Closures, including type safety and abstraction property. ℱ is a source-to-source, translation rule system from Java 1.5 extended with lambda expressions, back to ordinary Java 1.5. It has been introduced to study, in a translation semantics framework, the design and the implementation features of lambda expressions, including simple closures, this transparency, not local variables and relations with anonymous class objects. In this paper we prove that the reduction semantics and the translation semantics commute in FGACJ. Where FGACJ is a minimal core calculus that extends FGCJ, by adding Java interfaces and anonymous class objects and that allows a restricted definition of translation semantics ℱ.