首页 | 本学科首页   官方微博 | 高级检索  
     


Static and Dynamic Slicing of Constraint Logic Programs
Authors:Gyöngyi Szilágyi  Tibor Gyimóthy  Jan Małuszyński
Affiliation:(1) Research Group on Artificial Intelligence, Hungarian Academy of Sciences, Hungary;(2) Department of Computer and Information Science, Linköping University, Sweden
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:Logic Programming (LP)  Constraint Logic Programming (CLP)  program analysis  debugging  slicing
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号