Partial evaluation and separate compilation

  • Authors:
  • Rogardt Heldal;John Hughes

  • Affiliations:
  • Department of Computer Science, Chalmers Technical University, S-41296 Göteborg, Sweden;Department of Computer Science, Chalmers Technical University, S-41296 Göteborg, Sweden

  • Venue:
  • PEPM '97 Proceedings of the 1997 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Hitherto all partial evaluators have processed a complete program to produce a complete residual program. We are interested in treating programs as collections of modules which can be processed independently: 'separate partial evaluation', so to speak. In this paper we still assume that the original program is processed in its entirety, but we show how to specialise it to the static data bit-by-bit, generating a different module for each bit. When the program to be specialised is an interpreter, this corresponds to specialising it to one module of its object language at a time: each module of the object language gives rise to one module of the residual program.