Strictness meets data flow

  • Authors:
  • Tom Schrijvers;Alan Mycroft

  • Affiliations:
  • Dept. of Computer Science, K.U. Leuven, Heverlee, Belgium;Computer Laboratory, University of Cambridge, Cambridge, UK

  • Venue:
  • SAS'10 Proceedings of the 17th international conference on Static analysis
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

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.