计算机科学 > 程序设计语言
[提交于 2002年2月11日]
标题:Using parametric set constraints for locating errors in CLP programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 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.
提交历史
来自:Pawel Pietrzak[v1] 2002年2月11日 星期一 11:50:37 UTC