Lix: An Effective Self-applicable Partial Evaluator for Prolog


Craig, Stephen-John and Leuschel, Michael (2004) Lix: An Effective Self-applicable Partial Evaluator for Prolog. In, Functional and Logic Programming: 7th International Symposium, FLOPS 2004, Nara, Japan, 07 - 09 Apr 2004. Springer-Verlag, 85-99.

Download

[img] PDF
Download (181Kb)

Description/Abstract

This paper presents a self-applicable partial evaluator for a considerable subset of full Prolog. The partial evaluator is shown to achieve non-trivial specialisation and be effectively self-applied. The attempts to self-apply partial evaluators for logic programs have, of yet, not been all that successful. Compared to earlier attempts, our LIX system is practically usable in terms of efficiency and can handle natural logic programming examples with partially static data structures, built-ins, side-effects, and some higher-order and meta-level features such as call and findall. The LIX system is derived from the development of the LOGEN compiler generator system. It achieves a similar kind of efficiency and specialisation, but can be used for other applications. Notably, we show first attempts at using the system for deforestation and tupling in an offline fashion. We will demonstrate that, contrary to earlier beliefs, declarativeness and the use of the ground representation is not the best way to achieve self-applicable partial evaluators.

Item Type: Conference or Workshop Item (Paper)
Additional Information: Event Dates: April 7-9, 2004
Keywords: Partial Evaluation, Self-application, Logic Programming, Partial Deduction, Deforestation, Tupling
Divisions: Faculty of Physical and Applied Science > Electronics and Computer Science
Item ID: 259488
Date Deposited: 28 Jun 2004
Last Modified: 18 Aug 2012 03:33
Contributors: Craig, Stephen-John (Author)
Leuschel, Michael (Author)
Kameyama, Yukiyoshi (Editor)
Stuckey, Peter J. (Editor)
Date: 2004
Additional Information: Event Dates: April 7-9, 2004
Status: Published
Publisher: Springer-Verlag
Further Information:Google Scholar
ISI Citation Count:0
URI: http://eprints.soton.ac.uk/id/eprint/259488

Actions (login required)

View Item View Item