Download PDF

Theory and practice of logic programming

Publication date: 2002-07-01
Pages: 461 - 515
ISSN: 1471-0684
Publisher: Cambridge univ press

Author:

Leuschel, Michael
Bruynooghe, Maurice

Keywords:

program specialisation, logic programming, partial evaluation, partial deduction, well-founded semantics, term rewriting-systems, binding-time analysis, termination analysis, partial evaluator, transformation, specialization, generation, languages, mercury, Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, Theory & Methods, Logic, Computer Science, Science & Technology - Other Topics, BINDING-TIME ANALYSIS, PARTIAL EVALUATOR, TERMINATION ANALYSIS, MIXED COMPUTATION, TRANSFORMATION, SYSTEM, PROLOG, ORDER, cs.PL, cs.AI, D.1.6; D.1.2; I.2.2; F.4.1; I.2.3, 0801 Artificial Intelligence and Image Processing, 0802 Computation Theory and Mathematics, 0803 Computer Software, Computation Theory & Mathematics, 4602 Artificial intelligence, 4613 Theory of computation

Abstract:

Program specialisation aims at improving the overall performance of programs by performing source to source transformations. A common approach within functional and logic programming, known respectively as partial evaluation and partial deduction, is to exploit partial knowledge about the input. It is achieved through a well-automated application of parts of the Burstall-Darlington unfold/fold transformation framework. The main challenge in developing systems is to design automatic control that ensures correctness, efficiency, and termination. This survey and tutorial presents the main developments in controlling partial deduction over the past 10 years and analyses their respective merits and shortcomings. It ends with an assessment of current achievements and sketches some remaining research challenges.