International Static Analysis Symposium, Date: 2010/09/14 - 2010/09/17, Location: Perpignan, France
Lecture Notes in Computer Science
Author:
Keywords:
type-and-effect system, strictness analysis, dataflow, lazy evaluation, call-by-need, program analysis, Science & Technology, Technology, Computer Science, Information Systems, Computer Science, Theory & Methods, Computer Science
Abstract:
Properties of programs can be formulated using various techniques: dataflow analysis, abstract interpretation and type-like inference systems. This paper reconstructs strictness analysis (establishing when function parameters are evaluated in a lazy language) as a dataflow analysis, by expressing the dataflow properties as an effect system. Strictness properties so expressed give a clearer operational understanding and enable a range of additional optimisations including implicational strictness. At first order strictness effects have the expected principality properties (best-property inference) and can be computed simply.