• Cite Icon19
  • https://doi.org/10.1145/2318202.2318205Copy DOI Icon

Corecursive Featherweight Java

  • Jun 12, 2012
  • Davide Ancona +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Despite cyclic data structures occur often in many application domains, object-oriented programming languages provide poor abstraction mechanisms for dealing with cyclic objects.Such a deficiency is reflected also in the research on theoretical foundation of object-oriented languages; for instance, Featherweigh Java (FJ), which is one of the most widespread object-oriented calculi, does not allow creation and manipulation of cyclic objects.We propose an extension to Featherweight Java, called COFJ, where it is possible to define cyclic objects, abstractly corresponding to regular terms, and where an abstraction mechanism, called regular corecursion, is provided for supporting implementation of coinductive operations on cyclic objects.We formally define the operational semantics of COFJ, and provide a handful of examples showing the expressive power of regular corecursion; such a mechanism promotes a novel programming style particularly well-suited for implementing cyclic data structures, and for supporting coinductive reasoning.

Similar Papers
  • Supplementary Content

Co-Contextual Type Systems: Contextless Deductive Reasoning for Correct Incremental Type Checking

  • Mar 02, 2020
  • TUbilio (Technical University of Darmstadt)
  • Edlira Kuci
  • Research Article
  • Citations1

Higher-Order Subtyping with Type Intervals

  • Jan 01, 2017
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Sandro Stucki
  • Supplementary Content

Modularisierung und Wiederverwendung durch generische Klassen in Object Teams

  • Dec 19, 2013
  • DepositOnce
  • Andreas Mertgen
  • Research Article
  • Citations6

Modular data-flow analysis of statically typed object-oriented programming languages

  • Jan 01, 2000
  • View
  • Ramkrishna Chatterjee +1
  • Research Article
  • Citations2

Objects in context: An empirical study of object relationships

  • Jan 01, 2012
  • Repository for Publications and Research Data (ETH Zurich)
  • Stephanie Balzer +2
  • Research Article
  • Citations17

Synchronizing Concurrent Objects in the Pi-Calculus

  • Oct 01, 1997
  • Open Access CRIS of the University of Bern
  • Jean-Guy Schneider +1
  • Research Article
  • Citations321

Concurrency State Models and Java Programs

  • Jan 01, 2000
  • Scalable Computing Practice and Experience
  • William F Gilreath
  • Supplementary Content
  • Citations47

Components, Scripts, and Glue: A conceptual framework for software composition

  • Oct 01, 1999
  • Open Access CRIS of the University of Bern
  • Jean-Guy Schneider
  • Research Article

The event generator SHERPA

  • Jan 01, 2005
  • CERN Document Server (European Organization for Nuclear Research)
  • T Gleisberg +5
  • Research Article

Teaching C++ Using Real Life Analogies

  • Dec 01, 2016
  • Journal of Engineering Education/Journal of engineering education transformations/Journal of engineering education transformation
  • Shashikala V Budni +3
  • Supplementary Content
  • Citations12

The convergence of modeling and programming: facilitating the representation of attributes and associations in the umple model-oriented programming language

  • Jan 01, 2010
  • uO Research (University of Ottawa)
  • Andrew Forward
  • Research Article
  • Citations1

Concatenating Approach: Improving the Performance of Data Structure Implementation

  • May 19, 2018
  • Dmp Dmp +1
  • Research Article

Penerapan Konsep Inversion Of Control pada Sistem Informasi dengan Java Framework Google Guice

  • Jan 01, 2010
  • Transmisi: Jurnal Ilmiah Teknik Elektro
  • Herdhian Cahya Novanto +2
  • Research Article
  • Citations8

Object-oriented pattern matching

  • Jan 01, 2007
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Burak Emir
  • Supplementary Content

Costrutti ed Applicazioni di Programmazione Generica in Linguaggi Object-Oriented

  • Apr 30, 2010
  • AMS Dottorato Institutional Doctoral Theses Repository (University of Bologna)
  • Maurizio Cimadamore
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.