On the Compilation of Programs into their Equivalent Constraint Representation

被引:0
|
作者
Wotawa, Franz [1 ]
Nica, Mihai [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, Inffeldgasse 16b-2, A-8010 Graz, Austria
来源
基金
奥地利科学基金会;
关键词
constraint satisfaction problems; hyper-graph decomposition; debugging;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we introduce the basic methodology for analyzing and debugging programs. We first convert programs into their loop-free equivalents and from this into the static single assignment form. From the static single assignment form we derive a corresponding constraint satisfaction problem. The constraint representation can be directly used for debugging. From the corresponding hyper-tree representation of the constraint satisfaction problem we compute the hyper-tree width which characterizes the complexity of finding a solution for the constraint satisfaction problem. Since constraint satisfaction can be effectively used for diagnosis the conversion can be used for debugging and the obtained hyper-tree width is an indi-cator of the debugging complexity.
引用
收藏
页码:359 / 371
页数:13
相关论文
共 50 条
  • [21] Hardware compilation: Translating programs into circuits
    Swiss Fed. Institute of Technology, Zurich, Switzerland
    [J]. Computer, 6 (25-31):
  • [22] An abstract intermediate representation in compilation systems
    Dai, GL
    Tian, JL
    Zhang, SQ
    Jiang, WD
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (02) : 12 - 18
  • [23] Compilation Error Repair: For the Student Programs, From the Student Programs
    Ahmed, Umair Z.
    Kumar, Pawan
    Karkare, Amey
    Kar, Purushottam
    Gulwani, Sumit
    [J]. 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING EDUCATION AND TRAINING (ICSE-SEET), 2018, : 78 - 87
  • [24] Parallelizing Constraint Programs
    Michel, Laurent D.
    [J]. DAMP'10: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON DECLARATIVE ASPECTS OF MULTICORE PROGRAMMING, 2010, : 3 - 3
  • [25] On Testing Constraint Programs
    Lazaar, Nadjib
    Gotlieb, Arnaud
    Lebbah, Yahia
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING-CP 2010, 2010, 6308 : 330 - +
  • [26] Nested Constraint Programs
    Chu, Geoffrey
    Stuckey, Peter J.
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING, CP 2014, 2014, 8656 : 240 - 255
  • [27] Cardinality constraint programs
    Syrjänen, T
    [J]. LOGICS IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, 3229 : 187 - 199
  • [28] EQUIVALENT LOGIC PROGRAMS
    CHAN, KH
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1990, 8 (03): : 187 - 199
  • [29] Constraint representation for propagation
    Harvey, W
    Stuckey, PJ
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP98, 1998, 1520 : 235 - 249
  • [30] TimeC: A time constraint language for ILP processor compilation
    Leung A.
    Palem K.V.
    Pnueli A.
    [J]. Constraints, 2002, 7 (02) : 75 - 115