Abstract
This paper describes PRESET, a debugging environment for the programming language Prolog. PRESET is implemented in C-Prolog and has two major components: Predicate Diagnoser and Why/Whynot Explanation System. Predicate Diagnoser detects bugs which can be found in prior to execution, such as misspellings and illegal calls. Why/Whynot Explanation System is based on the top-down procedure diagnosis method. It can explain not only where bugs exist but also "why" they are wrong, which most of the existing debugging tools for Prolog do not indicate.
Preview
Unable to display preview. Download preview PDF.
References
Shapiro, E. Y., Algorithmic Program Debugging, MIT Press, 1982.
Bowen, D. L., Byrd, L., Pereira, F. C. N, Pereira, L. M. and Warren, D. H. D, DECsystem-10 Prolog User's Manual, Dept. of Artificial Intelligence, University of Edinburgh, 1982.
Pereira, F., C-Prolog User's Manual, Dept. of Artificial Intelligence, University of Edinburgh, 1983.
Clocksin, W. F. and Mellish, C. S., Programming in Prolog, Springer-Verlag, 1981.
Numao, M., PROEDIT — A Screen Oriented Prolog Programming Environment, Proc. of the Logic Programming Conference '85, 1985 (In Japanese).
Francez, N., Goldenberg, S., Pinter, R. Y., Tiomkin, M. and Tsur, S., An Environment for Logic Programming, Proc. of the ACM SIGPLAN 85 Symposium on Language Issues in Programming Environments, ACM SIGPLAN Notices, Vol. 20, No. 7., 1985.
Komorowski, H. J. and Omori, S., A Model and an Implementation of a Logic Programming Environment, Proc. of the ACM SIGPLAN 85 Symposium on Language Issues in Programming Environments, ACM SIGPLAN Notices, Vol. 20, No. 7, 1985.
Covington, M. A., Eliminating Unwanted Loops in Prolog, ACM SIGPLAN Notices, Vol. 20, No. 1, 1985.
Covington, M. A., A Further Note on Looping in Prolog, ACM SIGPLAN Notices, Vol. 20, No. 8, 1985.
Nute, D., A Programming Solution to Certain Problems with Loops in Prolog, ACM SIGPLAN Notices, Vol. 20, No. 8, 1985.
Poole, D. and Goebel, R., On Eliminating Loops in Prolog, ACM SIGPLAN Notices, Vol. 20, No. 8, 1985.
Takahashi, H. and Shibayama, E., PRESET — A Debugging Environment for Prolog, Proc. of the Logic Programming Conference '85, 1985 (In Japanese).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Takahashi, H., Shibayama, E. (1986). PRESET — A debugging environment for Prolog. In: Wada, E. (eds) Logic Programming '85. LP 1985. Lecture Notes in Computer Science, vol 221. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-16479-0_9
Download citation
DOI: https://doi.org/10.1007/3-540-16479-0_9
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-16479-1
Online ISBN: 978-3-540-39820-2
eBook Packages: Springer Book Archive