Objective: in Minimum Context - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2003

Objective: in Minimum Context

Salvador Abreu
Daniel Diaz

Résumé

The current proposals for the inclusion of modules in the ISO Prolog standard are not very consensual. Since a program-structuring feature is required for a production programming language, several alternatives have been explored over the years. In this article we recall and expand on the concepts of Contextual Logic Programming, a powerful and simple mechanism which addresses the general issue of modularity in Logic Programs. We claim that unit arguments are an essential addition to this programming model, illustrate the claim with examples and draw parallels with Object-Oriented programming. We argue that Contextual Logic Programming is an interesting and effective tool for the development of large-scale programs built upon the Contextual Logic Programming paradigm and argue that contexts with arguments actually provide a powerful, expressive and very convenient means of structuring large applications upon a Prolog basis. We substantiate our claims with examples taken mostly from a "real world" application, Universidade de Evora's ' Academic Information System, which is currently being developed using the prototype implementation described in this article. We sketch the most relevant aspects of a new implementation of Contextual Logic Programming, GNU Prolog/CX, focusing on the impact on performance of the features which were added to a regular Prolog system, highlighting the low overhead which is incurred in case these extensions are not used
Fichier non déposé

Dates et versions

hal-00668260 , version 1 (09-02-2012)

Identifiants

  • HAL Id : hal-00668260 , version 1

Citer

Salvador Abreu, Daniel Diaz. Objective: in Minimum Context. International Conference on Logic Programming, 2003, Mumbai, India. pp.128-147. ⟨hal-00668260⟩

Collections

UNIV-PARIS1 CRI
36 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More