Communicating Clauses: Towards Synchronous Communication in Contextual Logic Programming

Communicating clauses are proposed as an extension to contextual logic programming aiming at specifying the synchronous communication between agents, described here as units. The expressiveness of the extended framework is argued through the coding of producer/consumer schemes and several applications combining the logic and object-oriented styles of programming. Operational and declarative semantics are designed for the new framework. The operational semantics rests on a derivation relation stating how agents can be evaluated under contextual and synchronization constraints. The declarative semantics extend the classical model and xed point theory to take these constraints into account. As suggested, an eeort has been made to keep these semantics in the main streams of logic programming semantics. However, the contextual and synchronization constraints raise new problems for which fresh solutions are proposed.

[1]  J. Grabowski,et al.  On partial languages , 1981, Fundam. Informaticae.

[2]  Pierpaolo Degano,et al.  A First Order Semantics of a Connective Suitable to Express Concurrency , 1983, Logic Programming Workshop.

[3]  Ehud Shapiro,et al.  A subset of Concurrent Prolog and its interpreter , 1988 .

[4]  Luís Monteiro,et al.  A Transformational View of Inheritance in Logic Programming , 1990, ICLP.

[5]  Kazunori Ueda,et al.  Guarded Horn Clauses , 1986, LP.

[6]  Jean-Marie Jacquet Comparative Semantics of Generalized Horn Clauses 1 , 1991 .

[7]  J. W. de Bakker,et al.  Metric Pomset Semantics for a Concurrnt Language with Recursion , 1990, Semantics of Systems of Concurrent Processes.

[8]  John S. Conery,et al.  Logical Objects , 1988, ICLP/SLP.

[9]  Antonio Brogi,et al.  AND-Parallelism without Shared Variables , 1990, International Conference on Logic Programming.

[10]  Jean-Marie Jacquet,et al.  Extended Horn Clauses: The Framework and Some Semantics , 1991, CONCUR.

[11]  Giorgio Levi,et al.  A Synchronization Logic: Axiomatics and Formal Semantics of Generalized Horn Clauses , 1984, Inf. Control..

[12]  Luís Monteiro An Extension to Horn Clause Logic Allowing the Definition of Concurrent Processes , 1981, ICFPC.

[13]  Luís Monteiro A Horn Clause-like Logic for Specifying Concurrency , 1982, ICLP.

[14]  Dana S. Scott,et al.  Concurrent constraint programming languages , 1989 .

[15]  Frank S. de Boer,et al.  Semantic Models for a Version of PARLOG , 1989, ICLP.

[16]  Steven Gregory Design, application and implementation of a parallel logic programming language , 1985 .

[17]  J.-M. Jacquet,et al.  Comparative semantics for a parallel contextual programming language , 1990 .

[18]  Luís Monteiro,et al.  Contextual Logic Programming , 1989, ICLP.

[19]  Patrick Lincoln,et al.  Linear logic , 1992, SIGA.