Improving offline narrowing-driven partial evaluation using size-change graphs

  • Authors:
  • Gustavo Arroyo;J. Guadalupe Ramos;Josep Silva;Germán Vidal

  • Affiliations:
  • Technical University of Valencia, Valencia, Spain;Technical University of Valencia, Valencia, Spain;Technical University of Valencia, Valencia, Spain;Technical University of Valencia, Valencia, Spain

  • Venue:
  • LOPSTR'06 Proceedings of the 16th international conference on Logic-based program synthesis and transformation
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

An offline approach to narrowing-driven partial evaluation (a partial evaluation scheme for first-order functional and functional logic programs) has recently been introduced. In this approach, program annotations (i.e., the expressions that should be generalised at partial evaluation time to ensure termination) are based on a simple syntactic characterisation of quasi-terminating programs. This work extends the previous offline scheme by introducing a new annotation strategy which is based on a combination of size-change graphs and binding-time analysis. Preliminary experiments point out that the number of program annotations is significantly reduced compared to the previous approach, which means that faster residual programs are often produced.