We use metalogic to define a suitable notion of module in logic programming. A module is viewed as a pair of logic programs, corresponding to the visible and the hidden part of the module, respectively. The construction of a module is implemented through a metalevel composition operator of object-level logic programs. We introduce metalevel operators for combining separate modules together. All the operators are straightforwardly defined by extending the standard vanilla metainterpreter with new clauses. More importantly, the semantics of modules and module composition operators is defined in terms of the standard semantics of logic programming in a compositional way.

META FOR MODULARIZING LOGIC PROGRAMMING

BROGI, A;MANCARELLA, PAOLO MARIA;PEDRESCHI, D;TURINI, F.
1992-01-01

Abstract

We use metalogic to define a suitable notion of module in logic programming. A module is viewed as a pair of logic programs, corresponding to the visible and the hidden part of the module, respectively. The construction of a module is implemented through a metalevel composition operator of object-level logic programs. We introduce metalevel operators for combining separate modules together. All the operators are straightforwardly defined by extending the standard vanilla metainterpreter with new clauses. More importantly, the semantics of modules and module composition operators is defined in terms of the standard semantics of logic programming in a compositional way.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/17254
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 8
  • ???jsp.display-item.citation.isi??? ND
social impact