Needed Computations Shortcutting Needed Steps
Programming Languages
2015-05-28 v1 Logic in Computer Science
Abstract
We define a compilation scheme for a constructor-based, strongly-sequential, graph rewriting system which shortcuts some needed steps. The object code is another constructor-based graph rewriting system. This system is normalizing for the original system when using an innermost strategy. Consequently, the object code can be easily implemented by eager functions in a variety of programming languages. We modify this object code in a way that avoids total or partial construction of the contracta of some needed steps of a computation. When computing normal forms in this way, both memory consumption and execution time are reduced compared to ordinary rewriting computations in the original system.
Cite
@article{arxiv.1505.07162,
title = {Needed Computations Shortcutting Needed Steps},
author = {Sergio Antoy and Jacob Johannsen and Steven Libby},
journal= {arXiv preprint arXiv:1505.07162},
year = {2015}
}
Comments
In Proceedings TERMGRAPH 2014, arXiv:1505.06818