• Medientyp: E-Artikel
  • Titel: Using parametric set constraints for locating errors in CLP programs
  • Beteiligte: DRABENT, WŁODZIMIERZ; MAŁUSZYŃSKI, JAN; PIETRZAK, PAWEŁ
  • Erschienen: Cambridge University Press (CUP), 2002
  • Erschienen in: Theory and Practice of Logic Programming
  • Sprache: Englisch
  • DOI: 10.1017/s1471068402001473
  • ISSN: 1471-0684; 1475-3081
  • Schlagwörter: Artificial Intelligence ; Computational Theory and Mathematics ; Hardware and Architecture ; Theoretical Computer Science ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p>This paper introduces a framework of parametric descriptive directional types for Constraint Logic Programming (CLP). It proposes a method for locating type errors in CLP programs, and presents a prototype debugging tool. The main technique used is checking correctness of programs w.r.t. type specifications. The approach is based on a generalization of known methods for proving the correctness of logic programs to the case of parametric specifications. Set constraint techniques are used for formulating and checking verification conditions for (parametric) polymorphic type specifications. The specifications are expressed in a parametric extension of the formalism of term grammars. The soundness of the method is proved, and the prototype debugging tool supporting the proposed approach is illustrated on examples. The paper is a substantial extension of the previous work by the same authors concerning monomorphic directional types.</jats:p>