Objects with Logic


This paper describes an approach to the integration of logic and object programming where predicates, logic expressions, and a generalized search protocol that support Prolog-like reasoning are implemented as an integral part of an object-oriented language. This logic programming facility provides 1) domain-based reasoning, 2) functional arguments, 3) support of the abstraction power of object-oriented languages, and 4) matching of complex object patterns, none of which are available in Prolog. The integration does not require logic facts to be local predicates in the environment; instead, facts are represented as objects in the application model. This permits recursive reasoning and backtracking on predicates that are defined on different domains. The design concepts and implementation of this approach are presented and its application is illustrated by an example.

DOI: 10.1145/100348.100368

Extracted Key Phrases

7 Figures and Tables

Cite this paper

@inproceedings{Ibrahim1990ObjectsWL, title={Objects with Logic}, author={Mamdouh H. Ibrahim and Fred A. Cummins}, booktitle={ACM Conference on Computer Science}, year={1990} }