Completeness and strictness analysis for the evaluation strategy
نویسندگان
چکیده
We propose two analyses of the evaluation strategy (the E-strategy). Firstly, we analyze a completeness of the E-strategy. For a complete E-strategy each evaluated term is guaranteed to be a normal form. In this paper we de ne the notion of the completeness for the context-sensitive rewriting, called -completeness, and show a condition of the E-strategy to satisfy the -completeness. Secondarily, we give a strictness analysis for the E-strategy. A function is called strict in a certain argument if the evaluation of that argument does not change the termination behaviour. From the analyses, we can de ne a method to get a more e ective default strategy for the E-strategy.
منابع مشابه
The Impact of Laziness on Parallelism and the Limits of Strictness Analysis
The major question examined by this paper is whether suucient ne-grain parallelism can be obtained from programs written in a lazy functional language. To answer this question, we have implemented a prototype compiler based on a novel approach to strictness analysis (called abstract demand propagation) and we have compared this implementation strategy (optimized lazy) with other implementations...
متن کاملThe Impact of Laziness on Parallelism and the Limits of StrictnessAnalysisG
The major question examined by this paper is whether suucient ne-grain parallelism can be obtained from programs written in a lazy functional language. To answer this question, we have implemented a prototype compiler based on a novel approach to strictness analysis (called abstract demand propagation) and we have compared this implementation strategy (optimized lazy) with other implementations...
متن کاملAnalytical Comparison of Methods for Calculating the Completeness of VGI
Spatial data, which is one of the main needs of human societies from business organizations to the general users today, cannot meet the needs of a wide range of users without changing the structure of conventional methods of data registration and updating on a metropolitan scale. Open Street Map, as one of the most successful implementations of the crowdsourcing approach to spatial data with th...
متن کاملHyperstrictness and the Parallel Evaluation of Lazy Functional Programs
Strictness analysis can be used for automatic parallelization of lazy functional programs while preserving their semantics (and termination properties, in particular). This paper considers ways of exploiting strictness analysis in implementing functional languages eeciently on stock parallel hardware. A strictness{based parallel evaluation model is presented, and is compared with the more gener...
متن کاملStrictness Properties of Lazy Algebraic Datatypes
A new construction of a finite set of strictness properties for any lazy algebraic datatype is presented. The construction is based on the categorical view of the solutions to the recursive domain equations associated with such types as initial algebras. We then show how the initial algebra induction principle can be used to reason about the entailment relation on the chosen collection of prope...
متن کامل