首页> 外文会议>International symposium on functional and logic programming >Using Big-Step and Small-Step Semantics in Maude to Perform Declarative Debugging
【24h】

Using Big-Step and Small-Step Semantics in Maude to Perform Declarative Debugging

机译:在Maude中使用大步和小步语义进行声明式调试

获取原文

摘要

Declarative debugging is a semi-automatic debugging technique that abstracts the execution details to focus on results. This technique builds a debugging tree representing an incorrect computation and traverses it by asking questions to the user until the error is found. In previous works we have presented a declarative debugger for Maude specifications. Besides a programming language, Maude is a semantic framework where several other languages can be specified. However, our declarative debugger is only able to find errors in Maude specifications, so it cannot find bugs on the programs written on the languages being specified. We study in this paper how to modify our declarative debugger to find this kind of errors when defining programming languages using big-step and small-step semantics, two generic approaches that allow to specify a wide range of languages in a natural way. We obtain our debugging trees by modifying the proof trees obtained from the semantic rules. We have extended our declarative debugger to deal with this kind of debugging, and we illustrate it with an example.
机译:声明式调试是一种半自动调试技术,可抽象化执行细节以专注于结果。该技术可构建表示错误计算的调试树,并通过向用户提问直到找到错误来遍历该调试树。在以前的工作中,我们介绍了用于Maude规范的声明式调试器。除了编程语言外,Maude是一个语义框架,可以在其中指定其他几种语言。但是,我们的声明式调试器仅能找到Maude规范中的错误,因此无法找到以指定语言编写的程序中的错误。在本文中,我们研究如何在使用大步和小步语义定义编程语言时修改声明式调试器,以发现此类错误,这是两种通用方法,可以自然地指定多种语言。我们通过修改从语义规则获得的证明树来获得调试树。我们扩展了声明式调试器来处理这种调试,并通过示例进行说明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号