Title :
Effective realization of recursive procedures in logic programs
Author :
Chen, Albert C. ; Wu, Chuan-lin
Author_Institution :
Dept. of Electr. & Comput. Eng., Texas Univ., Austin, TX, USA
Abstract :
The authors explore methodologies for effective realization of recursive procedures in logic programs. The effectiveness is achieved by reducing the number of context frames and interframe relations, through several related schemes. During programming or preprocessing, a subset of recursive procedures are transformed into ones that ensure the application of last call optimizations; the procedures can then be transformed into ones that allow multiple use, when desirable. During parallel interpretation, structured data are manipulated by a scheme that dynamically applies structure sharing or copying with little overhead. A communication scheme can then be used to realize transformed doubly recursive procedures. With these schemes the process structures of the transformed procedures coincide with the data structures of the procedures, and the transformed procedures achieve efficiencies up to an order of magnitude in time, space, and interprocess communication over the untransformed ones.<>
Keywords :
data structures; logic programming; communication scheme; context frames; effective realization; interframe relations; last call optimizations; logic programs; parallel interpretation; recursive procedures; structured data; transformed doubly recursive procedures; Context; Data structures; Functional programming; Iterative algorithms; Logic programming; Parallel processing; Skeleton; Tail;
Conference_Titel :
Computers and Communications, 1989. Conference Proceedings., Eighth Annual International Phoenix Conference on
Conference_Location :
Scottsdale, AZ, USA
Print_ISBN :
0-8186-1918-x
DOI :
10.1109/PCCC.1989.37406