...
首页> 外文期刊>Theory and Practice of Logic Programming >Improving precision of type analysis using non-discriminative union
【24h】

Improving precision of type analysis using non-discriminative union

机译:使用非区别联合提高类型分析的精度

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

摘要

This paper presents a new type analysis for logic programs. The analysis is performed with a priori type definitions; and type expressions are formed from a fixed alphabet of type constructors. Non-discriminative union is used to join type information from different sources without loss of precision. An operation that is performed repeatedly during an analysis is to detect if a fixpoint has been reached. This is reduced to checking the emptiness of types. Due to the use of non-discriminative union, the fundamental problem of checking the emptiness of types is more complex in the proposed type analysis than in other type analyses with a priori type definitions. The experimental results, however, show that use of tabling reduces the effect to a small fraction of analysis time on a set of benchmarks.
机译:本文提出了一种逻辑程序的新型分析方法。使用先验类型定义进行分析;类型表达式由类型构造器的固定字母组成。非区别联合用于合并来自不同来源的类型信息,而不会降低精度。在分析过程中重复执行的操作是检测是否已达到固定点。这简化为检查类型是否为空。由于使用了非区别联合,因此在提出的类型分析中检查类型为空的基本问题比在先验类型定义的其他类型分析中更为复杂。但是,实验结果表明,使用制表法可以将一组基准上的分析时间减少到一小部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号