首页> 外文会议>Recent trends in algebraic development techniques >Declarative Debugging of Rewriting Logic Specifications
【24h】

Declarative Debugging of Rewriting Logic Specifications

机译:重写逻辑规范的声明式调试

获取原文
获取原文并翻译 | 示例

摘要

Declarative debugging is a semi-automatic technique that starts from an incorrect computation and locates a program fragment responsible for the error by building a tree representing this computation and guiding the user through it to find the wrong statement. This paper presents the fundamentals for the declarative debugging of rewriting logic specifications, realized in the Maude language, where a wrong computation can be a reduction, a type inference, or a rewrite. We define appropriate debugging trees obtained as the result of collapsing in proof trees all those nodes whose correctness does not need any justification. Since these trees are obtained from a suitable semantic calculus, the correctness and completeness of the debugging technique can be formally proved. We illustrate how to use the debugger by means of an example and succinctly describe its implementation in Maude itself thanks to its reflective and metalanguage features.
机译:声明式调试是一种半自动技术,它从不正确的计算开始,并通过构建表示该计算的树并指导用户查找错误的语句来定位导致错误的程序片段。本文介绍了以Maude语言实现的重写逻辑规范的声明式调试的基础,其中错误的计算可能是归约,类型推断或重写。我们定义适当的调试树,作为将证明不需要正确性的所有那些节点折叠在证明树中的结果。由于这些树是从适当的语义演算中获得的,因此可以正式证明调试技术的正确性和完整性。我们通过一个示例来说明如何使用调试器,并借助其反射和元语言功能来简要描述其在Maude中的实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号