Title of article :
The Second Futamura Projection for Type-Directed Partial Evaluation
Author/Authors :
Yang، Zhe نويسنده , , Grobauer، Bemd نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 1999
Abstract :
The second Futamura projection describes the automatic generation of non-trivial generating extensions by applying a partial evaluator to itself. 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 and TDPE, this derivation involves several conceptual and technical steps. These include a suitable formulation of the second Futamura projection and techniques for using TDPE to specialize typeindexed programs. In the context of the second Futamura projection, we also compare and relate TDPE with conventional offline partial evaluation. We demonstrate our. technique with several examples, including compiler generation for Tiny, a prototypical imperative language.
Keywords :
Separation of Concerns , Visitor Pattern , Recursive Programming
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices