Affiliation:
1. Comenius University, Bratislava, Slovakia
2. LORIA: CNRS & INRIA, 615, rue du Jardin Botanique, 54600 Villes-lès-Nancy, France
Abstract
In this work, we consider term rewriting from a functional point of view. A rewrite rule is a function that can be applied to a term using an explicit application function. From this starting point, we show how to build more elaborated functions, describing first rewrite derivations, then sets of derivations. These functions, that we call strategies, can themselves be defined by rewrite rules and the construction can be iterated leading to higher-order strategies. Furthermore, the application function is itself defined using rewriting in the same spirit. We present this calculus and study its properties. Its implementation in the [Formula: see text] language is used to motivate and exemplify the whole approach. The expressiveness of [Formula: see text] is illustrated by examples of polymorphic functions and strategies.
Publisher
World Scientific Pub Co Pte Lt
Subject
Computer Science (miscellaneous)
Cited by
62 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献