首页> 外文会议>International Static Analysis Symposium >A Backward Slicing Algorithm for Prolog
【24h】

A Backward Slicing Algorithm for Prolog

机译:prolog的后向切片算法

获取原文

摘要

Slicing is a program analysis technique originally developed by Weiser for imperative languages. Weiser showed that slicing is a natural tool for debugging, but it has other numerous applications (program integration, program optimization, etc.)In this article we describe a backward slicing algorithm for Prolog which produces executable slices. The proposed algorithm is applicable at least to pure Prolog extended by some simple built-in predicates that handle the explicit unification =/2 and arithmetic. To our knowledge, this algorithm is the first one to be proposed for Prolog. Because of the indeterminism and lack of explicit control flow of Prolog, existing algorithms cannot be trivially adapted. The two main contributions of this paper are a general definition of slicing adapted to Prolog and a slicing algorithm that produces executable programs.
机译:Slicing是一个由Weiser为命令的语言开发的程序分析技术。 WEISER表明,切片是调试的自然工具,但它在本文中具有其他许多应用程序(程序集成,程序优化等),我们描述了一种用于产生可执行切片的Prolog的后向切片算法。所提出的算法至少适用于通过一些简单的内置谓词延伸的纯Prolog,该谓词可以处理显式统一= / 2和算术。据我们所知,该算法是第一个提出Prolog的算法。由于Prolog的不确定和缺乏明确的控制流程,所以现有的算法不能术语调整。本文的两个主要贡献是Slicing适用于Prolog的一般定义,以及产生可执行程序的切片算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号