Application of object-oriented programming techniques to design and implementation of symbolic computation systems is investigated. We show the significance of certain correctness problems, occurring in programming environments based on specialization inheritance, due to use of method redefinition and polymorphism. We propose a solution to these problems, by defining a mechanism of subtyping inheritance and the prototype of an object-oriented programming language for a symbolic computation system. We devise the subtyping inheritance ESI (Enhanced Strict Inheritance) by lifting to programming language constructs a given model of subtyping, which is established by a monotonic (covariant) subtyping rule. Type safeness of language instructions is proved. The adoption of ESI allows to model method and class specialization in a natural way. The ESI mechanism verifies the type correctness of language statements by means of type checking rules and preserves their correctness at run-time by a suitable method lookup algorithm.

SUBTYPING INHERITANCE AND ITS APPLICATION IN LANGUAGES FOR SYMBOLIC COMPUTATION SYSTEMS / Diblasio, P; Temperini, M. - In: JOURNAL OF SYMBOLIC COMPUTATION. - ISSN 0747-7171. - STAMPA. - 19:1-3(1995), pp. 39-63.

SUBTYPING INHERITANCE AND ITS APPLICATION IN LANGUAGES FOR SYMBOLIC COMPUTATION SYSTEMS

TEMPERINI, M
1995

Abstract

Application of object-oriented programming techniques to design and implementation of symbolic computation systems is investigated. We show the significance of certain correctness problems, occurring in programming environments based on specialization inheritance, due to use of method redefinition and polymorphism. We propose a solution to these problems, by defining a mechanism of subtyping inheritance and the prototype of an object-oriented programming language for a symbolic computation system. We devise the subtyping inheritance ESI (Enhanced Strict Inheritance) by lifting to programming language constructs a given model of subtyping, which is established by a monotonic (covariant) subtyping rule. Type safeness of language instructions is proved. The adoption of ESI allows to model method and class specialization in a natural way. The ESI mechanism verifies the type correctness of language statements by means of type checking rules and preserves their correctness at run-time by a suitable method lookup algorithm.
1995
Symbolic Computation, Object Oriented Programming, Type Systems, Languages for Symbolic Computation
01 Pubblicazione su rivista::01a Articolo in rivista
SUBTYPING INHERITANCE AND ITS APPLICATION IN LANGUAGES FOR SYMBOLIC COMPUTATION SYSTEMS / Diblasio, P; Temperini, M. - In: JOURNAL OF SYMBOLIC COMPUTATION. - ISSN 0747-7171. - STAMPA. - 19:1-3(1995), pp. 39-63.
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1101816
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact