English

Slicing of Constraint Logic Programs

Software Engineering 2007-05-23 v1

Abstract

Slicing is a program analysis technique originally developed for imperative languages. It facilitates understanding of data flow and debugging. This paper discusses slicing of Constraint Logic Programs. Constraint Logic Programming (CLP) is an emerging software technology with a growing number of applications. Data flow in constraint programs is not explicit, and for this reason the concepts of slice and the slicing techniques of imperative languages are not directly applicable. This paper formulates declarative notions of slice suitable for CLP. They provide a basis for defining slicing techniques (both dynamic and static) based on variable sharing. The techniques are further extended by using groundness information. A prototype dynamic slicer of CLP programs implementing the presented ideas is briefly described together with the results of some slicing experiments.

Keywords

Cite

@article{arxiv.cs/0012014,
  title  = {Slicing of Constraint Logic Programs},
  author = {Gyongyi Szilagyi and Tibor Gyimothy and Jan Maluszynski},
  journal= {arXiv preprint arXiv:cs/0012014},
  year   = {2007}
}

Comments

In M. Ducasse (ed), proceedings of the Fourth International Workshop on Automated Debugging (AADEBUG 2000), August 2000, Munich. cs.SE/0010035