Static and dynamic slicing of constraint logic programs

被引:4
|
作者
Szilágyi G. [1 ]
Gyimóthy T. [1 ]
Małuszyński J. [2 ]
机构
[1] Research Group on Artificial Intelligence, Hungarian Academy of Sciences
[2] Department of Computer and Information Science, Linköping University
基金
匈牙利科学研究基金会;
关键词
Constraint Logic Programming (CLP); Debugging; Logic Programming (LP); Program analysis; Slicing;
D O I
10.1023/A:1013280119003
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:41 / 65
页数:24
相关论文
共 50 条
  • [1] A flexible framework for dynamic and static slicing of logic programs
    Vasconcelos, WW
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 1999, 1551 : 259 - 274
  • [2] Combined static and dynamic assertion-based debugging of constraint logic programs
    Puebla, G
    Bueno, F
    Hermenegildo, M
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, PROCEEDINGS, 2000, 1817 : 273 - 292
  • [3] Slicing Concurrent Constraint Programs
    Falaschi, Moreno
    Gabbrielli, Maurizio
    Olarte, Carlos
    Palamidessi, Catuscia
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, LOPSTR 2016, 2017, 10184 : 76 - 93
  • [4] Static slicing for pervasive programs
    Lu, Heng
    Chan, W. K.
    Tse, T. H.
    QSIC 2006: SIXTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2006, : 185 - +
  • [5] Static slicing of reactive programs
    Kulkarni, AR
    Ramesh, S
    THIRD IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION - PROCEEDINGS, 2003, : 98 - 107
  • [6] The debug slicing of logic programs
    Szilágyi, Gyöngyi
    Harmath, László
    Gyimóthy, Tibor
    Acta Cybernetica, 2001, 15 (02): : 257 - 278
  • [7] The Debug slicing of logic programs
    Szilágyi, G. (szilagyi@inf.u-szeged.hu), 2001, University of Szeged (15):
  • [8] Static slicing of threaded programs
    Krinke, J
    ACM SIGPLAN NOTICES, 1998, 33 (07) : 35 - 42
  • [9] Precise slicing of concurrent programs An Evaluation of static slicing algorithms for concurrent programs
    Giffhorn, Dennis
    Hammer, Christian
    AUTOMATED SOFTWARE ENGINEERING, 2009, 16 (02) : 197 - 234
  • [10] TRANSFORMING NORMAL LOGIC PROGRAMS TO CONSTRAINT LOGIC PROGRAMS
    KANCHANASUT, K
    STUCKEY, PJ
    THEORETICAL COMPUTER SCIENCE, 1992, 105 (01) : 27 - 56