Passer à la navigation principale Passer à la recherche Passer au contenu principal

Modules for prolog revisited

  • INRIA Rocquencourt

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collection › Contribution à une conférence › Revue par des pairs

17 Citations (Scopus)

Résumé

Module systems are an essential feature of programming languages as they facilitate the re-use of existing code and the development of general purpose libraries. Unfortunately, there has been no consensual module system for Prolog, hence no strong development of libraries, in sharp contrast to what exists in Java for instance. One difficulty comes from the call predicate which interferes with the protection of the code, an essential task of a module system. By distinguishing the called module code protection from the calling module code protection, we review the existing syntactic module systems for Prolog. We show that no module system ensures both forms of code protection, with the noticeable exceptions of Ciao-Prolog and XSB. We then present a formal module system for logic programs with calls and closures, define its operational semantics and formally prove the code protection property. Interestingly, we also provide an equivalent logical semantics of modular logic programs without calls nor closures, which shows how they can be translated into constraint logic programs over a simple module constraint system.

langue originaleAnglais
titreLogic Programming - 22nd International Conference, ICLP 2006, Proceedings
EditeurSpringer Verlag
Pages41-55
Nombre de pages15
ISBN (imprimé)9783540366355
Les DOIs
étatPublié - 1 janv. 2006
Modification externeOui
Evénement22nd International Conference on Logic Programming, ICLP 2006 - Seattle, WA, États-Unis
Durée: 17 août 2006 → 20 août 2006

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4079 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence22nd International Conference on Logic Programming, ICLP 2006
Pays/TerritoireÉtats-Unis
La villeSeattle, WA
période17/08/06 → 20/08/06

Empreinte digitale

Examiner les sujets de recherche de « Modules for prolog revisited ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation