DocumentCode :
2721920
Title :
On generating efficient procedural codes from Prolog linear recursive programs with a list structure
Author :
Nam, Young K. ; Henschen, Lawrence J.
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Northwestern Univ., Evanston, IL, USA
fYear :
1991
fDate :
27-30 Mar 1991
Firstpage :
806
Lastpage :
812
Abstract :
The authors present an algorithm for transforming a linear recursive program with a list constructor in Prolog, whose rules are mutually exclusive to each other, into an iterative program using a while loop without backtracking and unification. In this algorithm the authors decide whether a given program is mutually exclusive or not by a procedure which uses functional dependencies supplied by the user. Once it is determined to be a mutually exclusive program, the authors compile the given program into Pascal-like code which executes in order n -squared rather than traversing a whole tree as the usual Prolog interpreter does. The unification process is transformed into a set of assignments and conditional statements by analyzing the variables of the rules in the program. Backtracking is completely removed from execution
Keywords :
PROLOG; deductive databases; logic programming; Pascal-like code; Prolog linear recursive programs; assignments; backtracking; conditional statements; deductive databases; functional dependencies; interpreter; iterative program; list constructor; list structure; procedural codes generation; unification process; while loop; Ear; Iterative algorithms; Logic programming; Software engineering; Software tools; Tail;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computers and Communications, 1991. Conference Proceedings., Tenth Annual International Phoenix Conference on
Conference_Location :
Scottsdale, AZ
Print_ISBN :
0-8186-2133-8
Type :
conf
DOI :
10.1109/PCCC.1991.113898
Filename :
113898
Link To Document :
بازگشت