Forward Slicing of Multi-Paradigm Declarative Programs Based on Partial Evaluation

Germán Vidal

© Springer-Verlag
Logic-based Program Synthesis and Transformation (revised and selected papers from LOPSTR 2002), pp. 219-237, Springer LNCS 2664, 2003

Program slicing has been mainly studied in the context of imperative languages, where it has been applied to many software engineering tasks, like program understanding, maintenance, debugging, testing, code reuse, etc. This paper introduces the first forward slicing technique for multi-paradigm declarative programs. In particular, we show how program slicing can be defined in terms of online partial evaluation. Our approach clarifies the relation between both methodologies and provides a simple way to develop program slicing tools from existing partial evaluators.

Available: DVI PS PDF BibTeX-Entry


Germán Vidal