English

Interclausal Logic Variables

Programming Languages 2014-06-06 v1

Abstract

Unification of logic variables instantly connects present and future observations of their value, independently of their location in the data areas of the runtime system. The paper extends this property to "interclausal logic variables", an easy to implement Prolog extension that supports instant global information exchanges without dynamic database updates. We illustrate their usefulness with two of algorithms, {\em graph coloring} and {\em minimum spanning tree}. Implementations of interclausal variables as source-level transformations and as abstract machine adaptations are given. To address the need for globally visible chained transitions of logic variables we describe a DCG-based program transformation that extends the functionality of interclausal variables.

Keywords

Cite

@article{arxiv.1406.1393,
  title  = {Interclausal Logic Variables},
  author = {Paul Tarau and Fahmida Hamid},
  journal= {arXiv preprint arXiv:1406.1393},
  year   = {2014}
}

Comments

to appear as a ICLP'14 technical contribution

R2 v1 2026-06-22T04:31:45.077Z