Abstract
This paper presents a parallel logic programming language named P-Prolog which is being developed as a logic programming language featuring both and- and or-parallelism. Compared with the other parallel logic programming languages, syntactic constructs such as read-only annotation,6) mode declaration2) and communication constraints7) are not used in P-Prolog. A new concept introduced in P-Prolog is the exclusive relation of guarded Horn clauses. Advances included in P-prolog. are:
-
(1)
The synchronization mechanism can determine the direction of data flow dynamically.
-
(2)
Guarded Horn clauses can be interpreted as eitherdon’t care nondeterminism ordon’t know non-determinism.
A prototype interpreter of P-Prolog has been implemented in C-Prolog. We are now implementing a P-Prolog interpreter in the C language.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Chang, C. and Lee R. C.,Symbolic Logic and Mechanical Theorem Proving, Academic Press, New York, San Francisco, London, 1973.
Clark K. and Gregory S., “PARLOG: Parallel Programming in Logic,”Research Report DOC, April, 1984.
Clocksin W. F. and Mellish C. S.,Programming in Prolog, Springer-Verlag, Berlin, Heidelberg, New York, 1981.
Hoare C. A. R., “Algorithm 64,”CACM, Vol. 4, pp. 321, 1961.
Kowalski R.,Logic for Problem Solving, North-Holland, 1979.
Shapiro E. Y., “A Subset of Concurrent Prolog and Its Interpreter,”Technical Report, TR-003, ICOT, Tokyo, Feb., 1983.
Ueda K., “Guarded Horn Clauses,”Technical Report, TR-103, ICOT, Tokyo, June, 1985.
Author information
Authors and Affiliations
About this article
Cite this article
Yang, R., Aiso, H. P-Prolog: A parallel logic language based on exclusive relation. New Gener Comput 5, 79–95 (1987). https://doi.org/10.1007/BF03037459
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF03037459