by BasLuttik and EelcoVisser In Alex Sellink (editor) *Proceedings of the 2nd International Workshop on the Theory and Practice of Algebraic Specifications (ASF+SDF'97)*. *Electronic Workshops in Computing*, Springer-Verlag, Berlin, November 1997.

CategoryPaper

**Abstract**

User-definable strategies for the application of rewrite rules provide a means to construct transformation systems that apply rewrite rules in a controlled way. This paper describes a strategy language and its interpretation. The language is used to control the rewriting of terms using labeled rewrite rules. Rule labels are atomic strategies. Compound strategies are formed by means of sequential composition, non-deterministic choice, sequential choice, fixed point recursion, and a primitive for expressing term traversal. The traversal primitive called `push-down' applies a strategy to all arguments of the outermost function symbol of a term. Several complex term traversal strategies such as bottom-up and top-down application and (parallel) innermost and (parallel) outermost reduction can be defined in terms of this primitive. The paper contains two case studies of the application of strategies.

**Online**

- http://www.springer.co.uk/ewic/workshops/ASFSDF97/
- http://www.cs.uu.nl/people/visser/ftp/LV97.ps.gz
- http://www.cs.uu.nl/people/visser/ftp/LV97.ps.zip

CategoryPaper

Revision: r1.2 - 20 May 2003 - 10:12 - EelcoVisser

Copyright © 1999-2020 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

Ideas, requests, problems regarding TWiki? Send feedback