Strictification of circular programs

  • Authors:
  • João Paulo Fernandes;João Saraiva;Daniel Seidel;Janis Voigtländer

  • Affiliations:
  • Universidade do Porto, Universidade do Minho, Porto, Braga, Portugal;Universidade do Minho, Braga, Portugal;Universität Bonn, Bonn, Germany;Universität Bonn, Bonn, Germany

  • Venue:
  • Proceedings of the 20th ACM SIGPLAN workshop on Partial evaluation and program manipulation
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Circular functional programs (necessarily evaluated lazily) have been used as algorithmic tools, as attribute grammar implementations, and as target for program transformation techniques. Classically, Richard Bird [1984] showed how to transform certain multitraversal programs (which could be evaluated strictly or lazily) into one-traversal ones using circular bindings. Can we go the other way, even for programs that are not in the image of his technique? That is the question we pursue in this paper. We develop an approach that on the one hand lets us deal with typical examples corresponding to attribute grammars, but on the other hand also helps to derive new algorithms for problems not previously in reach.