Strictification of circular programs

João Paulo Fernandes, João Saraiva, Daniel Seidel, Janis Voigtländer
2011 Proceedings of the 20th ACM SIGPLAN workshop on Partial evaluation and program manipulation - PERM '11  
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
more » ... per. 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.
doi:10.1145/1929501.1929526 dblp:conf/pepm/FernandesSSV11 fatcat:nze6yn7yire6rn4guuxl63vnni