Abstract
This paper describes a new compilation method for the residuation mechanism underlying a multiparadigm language. Furthermore, it proposes the constraint functional and functional logic paradigms for the programming language of symbolic computation systems.The integration of functional and logic programming for the programming language of the symbolic computation system AlgBench is demonstrated using the residuation evaluation mechanism. The proposed multiparadigm language LAB could serve as a stand alone programming language. We present a residuation compiler and a collection of new commands and structures for a uniform abstract machine, an extension of the Warren's Abstract Machine (WAM), with a common memory for both functional and logic programms. Our implementation is done in an object-oriented way and it shows that the proposed approach and optimizations leads to a better execution and evaluation performance.
Research supported by the Swiss National Science Foundation
Preview
Unable to display preview. Download preview PDF.
Bibliography
H. Aït-Kaci, P. Lincoln, and R. Nasr. Le Fun: Logic, Equations, and Functions. In Proceedings of IEEE Symposioum on Logic Programming, 1987.
H. Aït-Kaci. Warren's Abstract Machine. A Tutorial Reconstruction. MIT Press, 1991.
H. Aït-Kaci and A. Podelski. Functions as Passive Constraints in LIFE. DEC Paris Research Laboratory, Research Report 13, June 1991.
H. Aït-Kaci. Towards a Meaning of LIFE. In Proc of the 3rd International Symposium on Programming Language Implementation and Logic Programming (PLILP'91), Springer-Verlag, LNCS 528, Passau, Germany, August 1991.
B. Buchberger. Mathematica: A System for doing Mathematics by Computer? Invited Talk. In Proc. of the 3rd Intern. Symposium on Design and Implementation of Symbolic Computation Systems (DISCO '93), Springer Verlag, LNCS 722, Gmunden, Austria, September 1993.
M. Fay. First order unification in equational theories. In Proc. of the 4th Intern. Conference on Automated Deduction (CADE-4), Academic Press, Austin, Texas, 1979.
G. Grivas. A Unification-and Object-Based Symbolic Computation System. In Proceedings of the 6th International Workshop on Unification (UNIF'92). BUCS Tech. Report #93-004, Computer Science Department, Boston University, July 1992.
G. Grivas and R. E. Maeder. Matching and Unification for the Object-Oriented Symbolic Computation System AlgBench. In Proceedings of the 3rd International Symposium on Design and Implementation of Symbolic Computation Systems (DISCO'93), Springer-Verlag, LNCS 722, Gmunden, Austria, September 1993.
G. Grivas. Efficient Integration of Declarative Paradigms into Symbolic Computation Systems. In Proc. of ICLP'94 Post-Conference Workshop on Integration of Declarative Paradigms, MPI-I-94-224, Max-Planck-Institut für Informatik, Santa Margherita, Italy, June 1994.
G. Grivas. Towards a Constraint Functional Logic Compiler for Symbolic Computation Systems. In Proceedings of the 6th International Symposium on Programming Language Implementation and Logic Programming (PLILP'94). Madrid, Spain, September 1994.
G. Grivas. The Design and Implementation of a Multiparadigm Symbolic Programming Language. PhD Thesis, Department of Computer Science, ETH Zürich, July 1996 (to be published).
M. Hanus. The Integration of Functions into Logic Programming: From Theory to Practice. Journal of Logic Programming, Vol. 19/20, pages 583–628, May 1994.
J. W. Lloyd. Foundations of Logic Programming. Springer-Verlag, second edition, 1987.
R. E. Maeder. AlgBench: An Object-Oriented Symbolic Core System. In Proc. of the 2nd International Symposium on Design and Implementation of Symbolic Computation Systems (DISCO'92), Springer Verlag, LNCS 721, Bath, England, April 1992.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Grivas, G., Palinginis, A. (1996). Compiling residuation for a multiparadigm symbolic programming language. In: Calmet, J., Limongelli, C. (eds) Design and Implementation of Symbolic Computation Systems. DISCO 1996. Lecture Notes in Computer Science, vol 1128. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-61697-7_34
Download citation
DOI: https://doi.org/10.1007/3-540-61697-7_34
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-61697-9
Online ISBN: 978-3-540-70635-9
eBook Packages: Springer Book Archive