The so called “cogen approach” to program specialisation, writing a compiler generator instead of a speciaiiser, has been used with considerable success in partial evaluation of both functional and imperative languages. This paper demonstrates that this approach is also applicable to partial evaluation of logic programming languages, also called partial deduction. Self-application has not been as much in focus in partiai deduction as in partial evaluation of functioned and imperative languages, and the attempts to self-apply partial deduction systems have, of yet, not been altogether that successful. So, especially for partial deduction, the cogen approach could prove to have a considerable importance when it comes to practical applications. It is demonstrated that using the cogen approach one gets very efficient compiler generators which generate very efficient generating extensions which in turn yield (for some examples at least) very good and non-triviai specialisation.
CITATION STYLE
Jørgensen, J., & Leuschel, M. (1996). Efficiently generating efficient generating extensions in prolog. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1110, pp. 238–262). Springer Verlag. https://doi.org/10.1007/3-540-61580-6_12
Mendeley helps you to discover research relevant for your work.