Using parametric set constraints for locating errors in CLP programs
2002 (English)In: Theory and Practice of Logic Programming, ISSN 1471-0684, E-ISSN 1475-3081, Vol. 2, no 4-5, 549-611 p.Article in journal (Refereed) Published
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.
Place, publisher, year, edition, pages
2002. Vol. 2, no 4-5, 549-611 p.
Research subject Embedded System
IdentifiersURN: urn:nbn:se:ltu:diva-12199DOI: 10.1017/S1471068402001473Local ID: b4b3efe0-c054-11dd-875e-000ea68e967bOAI: oai:DiVA.org:ltu-12199DiVA: diva2:985149
Upprättat; 2002; 20081202 (pawpie)2016-09-292016-09-29