【24h】

Stepping through an Answer-Set Program

机译:踩到答案集计划

获取原文

摘要

We introduce a framework for interactive stepping through an answer-set program as a means for debugging. In procedural languages, stepping is a widespread and effective debugging strategy. The idea is to gain insight into the behaviour of a program by executing statement by statement, following the pro gram's control flow. Stepping has not been considered for answer-set programs so far, presumably because of their lack of a control flow. The framework we provide allows for stepwise constructing interpretations following the user's in tuition on which rule instances to become active. That is, we do not impose any ordering on the rules but give the programmer the freedom to guide the stepping process. Due to simple syntactic restrictions, each step results in a state that guar antees stability of the intermediate interpretation. We present how stepping can be started from breakpoints as in conventional programming and discuss how the approach can be used for debugging using a running example.
机译:我们通过答案集程序介绍交互式步进的框架,作为调试的手段。在程序语言中,踏步是一种广泛和有效的调试策略。在Pro Gram的控制流程之后,该想法是通过通过语句执行语句来了解程序的行为。到目前为止还没有考虑返回答案的程序,这可能是因为他们缺乏控制流程。我们提供的框架允许逐步构建用户在用户中的学费后逐步构建解释,该规则实例成为活动状态。也就是说,我们不会对规则施加任何订购,但为程序员提供指导步进过程的自由。由于句法限制简单,每个步骤都会导致威胁中间解释稳定性的状态。我们介绍了如何从传统编程中从断点开始踏上的步进,并讨论如何使用运行示例使用方法来调试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号