LPL++: object programming language with built-in inheritance through unification

  • Authors:
  • Ismail H. Toroslu

  • Affiliations:
  • Middle East Technical University

  • Venue:
  • ACM SIGMIS Database
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, an object logic programming language is proposed that captures all of the basic object-oriented concepts in standard logic programming environment. This paper combines and extends two previously proposed models, namely Conery's technique (1988) which uses first-order logic to model objects including all of the basic object-oriented concepts except inheritance, and the LOGIN language of Ait-Kaci and Nasr (1986) which embeds inheritance into unification using typed logic.In this paper, Conery's proposal is extended by redefining the representation of the objects in a more formal way and by adding inheritance through an extended unification similar to the one proposed by Ait-Kaci and Nasr (1986). We have also changed the type concept of Ait-Kaci and Nasr (1986) by adding types directly to the first-order terms rather than using terms as types. The extended logic language, LPL++, has all the basic object-oriented concepts, namely objects, instances, classes, methods, inheritance, with the availability of update operations on objects in methods. A prototype interpreter also has been developed for the language LPL++.