1 AIT Asian Institute of Technology

An application of abstract interpretation: detecting functional computations in prolog programs

AuthorDuong Tuan Anh
Call NumberAIT Thesis no.CS-89-21
Subject(s)Prolog (Computer program language)

NoteA thesis submitted in partial fulfillment of the requirements for the degree of Master of Engineering
PublisherAsian Institute of Technology
AbstractThe knowledge about functionality of predicates in a Prolog program is very crucial to improve performance of Prolog system. Using abstract interpretation as a general and systematic framework for a sound compile-time program analysis, a better understating and a more elegant method for functionality detection has been reached. This thesis shows that a particular form of abstract interpretation, developed by BURN et al. (1986) can be used for this purpose. Furthermore, it points out that we can integrate mode and functionality in one pass of dataflow analysis. This integration makes it easier to embed mode and functionality analysis into an optimizing Prolog compiler. A system to infer mode and functionality of all the predicates in a given program has been implemented and the implementation shows that the method suggested is precise and efficient. Besides, in order to deal with total functionality, the thesis suggests an approach to detect termination of an important class of recursive predicates: the predicates having the “recursion on structure” property.
Year1989
TypeThesis
SchoolSchool of Engineering and Technology (SET)
DepartmentDepartment of Information and Communications Technologies (DICT)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Phan, Minh Dung;
Examination Committee(s)Kanchana Kanchanasut;Huynh, Ngoc Phien;
Scholarship Donor(s)Japanese Government;
DegreeThesis (M.Eng.) - Asian Institute of Technology, 1989


Usage Metrics
View Detail0
Read PDF0
Download PDF0