Forward Slicing by Conjunctive Partial Deduction and Argument Filtering
Leuschel, Michael and Vidal, German (2005) Forward Slicing by Conjunctive Partial Deduction and Argument Filtering. In, European Symposium on Programming (ESOP'05), Edinburgh, UK, Springer-Verlag, 61-76.
Download
|
PDF
Download (248Kb) |
Description/Abstract
Program slicing is a well-known methodology that aims at identifying the program statements that (potentially) affect the values computed at some point of interest. Within imperative programming, this technique has been successfully applied to debugging, specialization, merging, reuse, maintenance, etc. Due to its declarative nature, adapting the slicing notions and techniques to a logic programming setting is not an easy task. In this work, we define the first, semantics-preserving, forward slicing technique for logic programs. Our approach relies on the application of a conjunctive partial deduction algorithm for a precise propagation of information between calls. We do not distinguish between static and dynamic slicing since partial deduction can naturally deal with both static and dynamic data. Furthermore, this approach can quite easily be implemented by adding a new code generator on top of existing partial deduction systems. A slicing tool has been implemented in ECCE, where a post-processing transformation to remove redundant arguments has been added. Experiments conducted on a wide variety of programs are encouraging and demonstrate the usefulness of our approach, both as a classical slicing method and as a technique for code size reduction.
| Item Type: | Conference or Workshop Item (Paper) |
|---|---|
| Additional Information: | Event Dates: April 2005 |
| Keywords: | Partial Evaluation, Slicing, Logic Programming, Program Transformation, Partial Deduction |
| Divisions: | Faculty of Physical and Applied Science > Electronics and Computer Science |
| Item ID: | 260797 |
| Date Deposited: | 27 Apr 2005 |
| Last Modified: | 02 Mar 2012 12:40 |
| Contributors: | Leuschel, Michael (Author) Vidal, German (Author) Sagiv, Mooly (Editor) |
| Date: | 2005 |
| Additional Information: | Event Dates: April 2005 |
| Status: | Published |
| Publisher: | Springer-Verlag |
| Further Information: | Google Scholar |
| ISI Citation Count: | 3 |
| URI: | http://eprints.soton.ac.uk/id/eprint/260797 |
Actions (login required)
![]() |
View Item |


