Code generation based on formal BURS theory and heuristic search (Q1920230)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: Code generation based on formal BURS theory and heuristic search |
scientific article; zbMATH DE number 918714
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | Code generation based on formal BURS theory and heuristic search |
scientific article; zbMATH DE number 918714 |
Statements
Code generation based on formal BURS theory and heuristic search (English)
0 references
25 September 1996
0 references
BURS theory provides a powerful mechanism to efficiently generate pattern matches in a given expression tree. BURS, which stand for bottom-up rewrite system, is based on term rewrite systems, to which costs are added. We formalise the underlying theory, and derive an algorithm that computes all pattern matches. This algorithm terminates if the term rewrite system is finite. We couple this algorithm with the well-known search algorithm \(A^*\) that carries out pattern selection. The search algorithm is directed by a cost heuristic that estimates the minimum cost of code that has yet to be generated. The advantage of using a search algorithm is that we need to compute only those costs that may be part of an optimal rewrite sequence (and not the costs of all possible rewrite sequences as in dynamic programming). A system that implements the algorithms presented in this work has been built.
0 references
compiler generators
0 references
code generation
0 references
term rewrite systems
0 references
search algorithms
0 references
formal techniques
0 references