Record Details

The Second Futamura Projection for Type-Directed Partial Evaluation

BRICS Report Series

View Archive Info
 
 
Field Value
 
Title The Second Futamura Projection for Type-Directed Partial Evaluation
 
Creator Grobauer, Bernd
Yang, Zhe
 
Description A generating extension of a program specializes it with respect tosome specified part of the input. A generating extension of a programcan be formed trivially by applying a partial evaluator to the program;the second Futamura projection describes the automatic generationof non-trivial generating extensions by applying a partial evaluator toitself with respect to the programs.We derive an ML implementation of the second Futamura projection for Type-Directed Partial Evaluation (TDPE). Due to the differences between `traditional', syntax-directed partial evaluation andTDPE, this derivation involves several conceptual and technical steps.These include a suitable formulation of the second Futamura projection and techniques for making TDPE amenable to self-application. Inthe context of the second Futamura projection, we also compare andrelate TDPE with conventional offline partial evaluation.We demonstrate our technique with several examples, includingcompiler generation for Tiny, a prototypical imperative language.
 
Publisher Aarhus University
 
Contributor
 
Date 1999-12-10
 
Type info:eu-repo/semantics/article
info:eu-repo/semantics/publishedVersion

 
Format application/pdf
 
Identifier https://tidsskrift.dk/brics/article/view/20109
10.7146/brics.v6i40.20109
 
Source BRICS Report Series; No 40 (1999): RS-40 The Second Futamura Projection for Type-Directed Partial Evaluation
BRICS Report Series; No 40 (1999): RS-40 The Second Futamura Projection for Type-Directed Partial Evaluation
1601-5355
0909-0878
 
Language eng
 
Relation https://tidsskrift.dk/brics/article/view/20109/17728
 
Rights Copyright (c) 2015 BRICS Report Series