Abstract
The concept of S-unification provides a semantically clean way of combining logic programs with functions written in other languages. This paper shows how to implement a logic programming language with S-unification by transforming it to a Prolog program. The scheme is reasonably efficient if Prolog supports efficient coroutining.
(on leave from the Institute of Informatics, Warsaw University)
S-581 83 Linköping, Sweden. email: andka@ida.liu.se
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
H. Aït-Kaci, P. Lincoln, and R. Nasr. Le Fun: Logic, Equations and Functions. In Proc. Symposium on Logic Programming [IEE87].
R. Barbuti, M. Bellia, G. Levi, and M. Martelli. LEAF: a Language which integrates Logic, Equations and Functions. In DeGroot and Lindstrom [DL86].
S. Bonnier and J. Małuszyński. Towards a Clean Amalgamation of Logic Programs with External Procedures. In Robert A. Kowalski and Kenneth A. Bowen, editors, Logic Programming, Proc. of the fifth International Conference and Symposium, Seatle, 1988. ALP, IEEE, MIT Press.
Staffan Bonnier. Horn Clause Logic with External Procedures: Towards a Theoretical Framework. Licentiate thesis, Linköping University, Dep. of Computer and Information Science, S-581 83 Linköping, Sweden, 1989.
Staffan Bonnier, 1991. Personal communication.
Johan Boye. Operational completeness of logic programs with external procedures. Master’s thesis, Linköping University, Dep. of Computer and Information Science, S-581 83 Linköping, Sweden, 1991. Report no: LiTH-IDA-Ex-9104.
Mats Carlsson. Freeze, indexing, and other implementation issues in the WAM. In Jean-Louis Lassez, editor, Logic Programming, Proc. of the Fourth International Conference, pages 40–58, Melbourne, 1987. MIT Press.
S. Cohen. The APPLOG Language. In DeGroot and Lindstrom [DL86].
Alain Colmerauer. Prolog II - manuel de référence et modèle théoretique. Technical report, Groupe d’Intelligence Artificielle, Université d’Aix-Marseille I I, 1982.
M. Dincbas, P. Van Hentenryck, H. Simonis, A. Aggoun, T. Graf, and F. Berthier. The constraint logic programming language chip. In Proc. of the International Conference on Fifth Generation Computer Systems,pages 693–702, Tokyo, 1988. Institute for New Generation Computer Technology, Ohmsha, Ltd.
D. DeGroot and G. Lindstrom, editors. Logic programming, functions, relations and equations. Prentice-Hall, 1986.
J. Goguen and J. Meseguer. EQLOG: Equality, Types and Generic Modules for Logic Programming. In DeGroot and Lindstrom [DL86].
P. V. Hentenryck. Constraint Satisfaction in Logic Programming. MIT Press, 1989.
IEEE. Proc. Symposium on Logic Programming, San Francisco, 1987. Computer Society Press.
J. Jaffar and J.L. Lassez. Constraint Logic Programming. In 14th ACM POPL Con f. ACM, 1987.
J. Komorowski. QLOG - The Programming Environment for Prolog in LISP. In K.L. Clark and S.-A. Tärnlund, editors, Logic Programming. Prentice-Hall, 1982.
C. Mellish and S. Hardy. Integrating Prolog in the Poplog Environment. In J. Campbell, editor, Implementations of Prolog. Ellis Horwood, 1984.
J. Robinson and E. Sibert. LOGLISP: Motivation, Design and Implementation. In K. Clark and S.-Å. Tärnlund, editors, Logic Programming. Prentice-Hall, 1982.
D.W. Shin, J.H. Nang, S. Han, and S.R. Maeng. A Functional Logic Language based on Canonical Unification. In Proc. Symposium on Logic Programming [IEE87], pages 328–333.
P. Subrahmanyam and J-H. You. Funlog: A computational model integrating logic programming and functional programming. In De-Groot and Lindstrom [DL86].
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1992 Springer-Verlag London
About this paper
Cite this paper
Kågedal, A., Kluźniak, F. (1992). Enriching Prolog with S-Unification. In: Darlington, J., Dietrich, R. (eds) Declarative Programming, Sasbachwalden 1991. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3794-8_4
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3794-8_4
Publisher Name: Springer, London
Print ISBN: 978-3-540-19735-5
Online ISBN: 978-1-4471-3794-8
eBook Packages: Springer Book Archive