Abstract
We have demonstrated that the concept of continuation based transformations can be successfully carried over from functional programming to logic programming. Various known techniques of logic programming, such as removal of linear recursion, parsing by difference lists and removal of left recursion in grammars can be considered as special instances of the technique.
This paper is in final form and no version of it will be submitted for publication elsewhere.
Preview
Unable to display preview. Download preview PDF.
7 References
S. Debray “Optimizing Almost-Tail-Recursive Prolog Programs,” Proc. IFIP International Conference on Functional Programming Languages and Computer Architecture. Nancy, France, 1985.
H. J. Komorowski “Partial evaluation as a means for inferencing data structures in an applicative language: A theory and implementation in the case of Prolog,” Proceedings of the 9th ACM Symposium on Principles of Programming Languages, Albuquerque, New Mexico, 255–267 (1982).
S. Tamaki and T. Sato “Unfold/Fold Transformations of Logic Programs,” Proc. 2nd. Logic Programming Conference, Uppsala, Sweden, 1984.
R. Venken “A Prolog meta-interpreter for partial evaluation and its application to source to source transformation and query optimization,” in T.O'Shea (ed.): ECAI-84. Advances in Artificial Intelligence, Pisa, Italy, 91–100. North-Holland, 1984.
M. Wand “Continuation based program transformation strategies,” Journal of the ACM, 27 (1980) 164–180.
J. Zhang and P. W. Grant “An Automatic Difference-list Transformation Algorithm for Prolog,” in Proceedings of ECAI-88. European Conf. on Artificial Intelligence, Munich 1988.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1990 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Gumm, H.P. (1990). Continuations of logic programs. In: Bergman, C.H., Maddux, R.D., Pigozzi, D.L. (eds) Algebraic Logic and Universal Algebra in Computer Science. ALUACS 1988. Lecture Notes in Computer Science, vol 425. Springer, New York, NY. https://doi.org/10.1007/BFb0043077
Download citation
DOI: https://doi.org/10.1007/BFb0043077
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-97288-6
Online ISBN: 978-0-387-34804-9
eBook Packages: Springer Book Archive