TY - GEN
T1 - On generating efficient procedural codes from Prolog linear recursive programs with a list structure
AU - Nam, Young K.
AU - Henschen, Lawrence Joseph
PY - 1991/3
Y1 - 1991/3
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=0026122649&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0026122649&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:0026122649
SN - 0818621338
T3 - Conference Proceedings - Annual Phoenix Conference
SP - 806
EP - 812
BT - Conference Proceedings - Annual Phoenix Conference
PB - Publ by IEEE
T2 - Proceedings of the 10th Annual International Phoenix Conference on Computers and Communications
Y2 - 27 March 1991 through 30 March 1991
ER -