Visual Generalized Rule Programming Model for Prolog with Hybrid Operators

  • Authors:
  • Grzegorz J. Nalepa;Igor Wojnicki

  • Affiliations:
  • Institute of Automatics, AGH University of Science and Technology, Kraków, Poland 30-059;Institute of Automatics, AGH University of Science and Technology, Kraków, Poland 30-059

  • Venue:
  • Applications of Declarative Programming and Knowledge Management
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The rule-based programming paradigm is omnipresent in a number of engineering domains. However, there are some fundamental semantical differences between it and classic programming approaches. No generic solution for using rules to model business logic in classic software has been provided so far. In this paper a new approach for Generalized Rule-based Programming (GREP) is given. It is based on the use of an advanced rule representation called XTT, which includes an extended attribute-based language, a non-monotonic inference strategy, with an explicit inference control at the rule level. The paper shows, how some typical programming constructs, as well as classic programs can be modelled with this approach. The paper also presents possibilities of an efficient integration of this technique with existing software systems. It describes the so-called Hybrid Operators in Prolog --- a concept which extends the Generalized Rule Based Programming Model (GREP). This extension allows a GREP-based application to communicate with the environment by providing input/output operations, user interaction, and process synchronization. Furthermore, it allows for integration of such an application with contemporary software technologies including Prolog-based code. The proposed Hybrid Operators extend GREP forming a knowledge-based software development concept.