中文

Finite-Tree Analysis for Constraint Logic-Based Languages: The Complete Unabridged Version

编程语言 2007-05-23 v2

摘要

Logic languages based on the theory of rational, possibly infinite, trees have much appeal in that rational trees allow for faster unification (due to the safe omission of the occurs-check) and increased expressivity (cyclic terms can provide very efficient representations of grammars and other useful objects). Unfortunately, the use of infinite rational trees has problems. For instance, many of the built-in and library predicates are ill-defined for such trees and need to be supplemented by run-time checks whose cost may be significant. Moreover, some widely-used program analysis and manipulation techniques are correct only for those parts of programs working over finite trees. It is thus important to obtain, automatically, a knowledge of the program variables (the finite variables) that, at the program points of interest, will always be bound to finite terms. For these reasons, we propose here a new data-flow analysis, based on abstract interpretation, that captures such information.

关键词

引用

@article{arxiv.cs/0404055,
  title  = {Finite-Tree Analysis for Constraint Logic-Based Languages: The Complete Unabridged Version},
  author = {Roberto Bagnara and Roberta Gori and Patricia M. Hill and Enea Zaffanella},
  journal= {arXiv preprint arXiv:cs/0404055},
  year   = {2007}
}

备注

89 pages, 1 table