Rewriting term-graphs with priority

  • Authors:
  • Ricardo Caferra;Rachid Echahed;Nicolas Peltier

  • Affiliations:
  • Leibniz-IMAG, CNRS, Grenoble Cedex, France;Leibniz-IMAG, CNRS, Grenoble Cedex, France;Leibniz-IMAG, CNRS, Grenoble Cedex, France

  • Venue:
  • Proceedings of the 8th ACM SIGPLAN international conference on Principles and practice of declarative programming
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We define a new class of rewrite systems operating over term-graphs. Our aim is twofold. First we propose to extend classical first-order rewrite rules in order to process easily data-structures with pointers (e.g., circular lists, doubly linked lists etc). For that, our rules provide specific features such as pointer (edges) redirections, relabeling of existing nodes etc. Unfortunately, such features are very often source of non confluence. Our second aim is then to ensure confluence of the considered rewrite systems in the new class. We introduce the notion of term-graphs with priority and show that orthogonal rewrite systems are confluent in our setting