首页> 外文期刊>Theory and Practice of Logic Programming >Using parametric set constraints for locating errors in CLP programs
【24h】

Using parametric set constraints for locating errors in CLP programs

机译:使用参数集约束来定位CLP程序中的错误

获取原文
获取外文期刊封面目录资料

摘要

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.
机译:本文介绍了用于约束逻辑编程(CLP)的参数化描述性方向类型的框架。提出了一种定位CLP程序中类型错误的方法,并提出了一种原型调试工具。使用的主要技术是检查程序的正确性。类型规格。该方法基于用于证明逻辑程序对参数规范的正确性的已知方法的概括。集合约束技术用于为(参数)多态类型规范制定和检查验证条件。规范以术语语法形式化的参数扩展形式表示。证明了该方法的正确性,并通过实例说明了支持该方法的原型调试工具。本文是同一作者关于单态方向类型的先前工作的实质性扩展。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号