Abstract
AbstractThis paper presents a new type analysis for logic programs. The analysis is performed witha prioritype 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 witha prioritype 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.
Publisher
Cambridge University Press (CUP)
Subject
Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Deriving overloaded success type schemes in Erlang;Journal of Computer Languages;2020-06
2. A Polymorphic Type Dependency Analysis for Logic Programs;New Generation Computing;2011-10
3. Inferring precise polymorphic type dependencies in logic programs;Proceedings of the 10th international ACM SIGPLAN conference on Principles and practice of declarative programming;2008-07-15
4. Checking Emptiness of Non-Deterministic Regular Types with Set Operators;Electronic Notes in Theoretical Computer Science;2008-04