Download PDF

Specialising interpreters using offline partial deduction

Publication date: 2004-01-01
Volume: 3049 Pages: 340 - 375
ISBN: 3-540-22152-2 ISSN: 0302-9743
Publisher: Springer

Author:

Leuschel, Michael
Craig, Stephen J ; Bruynooghe, Maurice ; Vanhoof, Wim ; Bruynooghe, M ; Lau, KK

Keywords:

program specialization, compiler generator, prolog, Science & Technology, Technology, Computer Science, Theory & Methods, Computer Science, PROGRAM SPECIALIZATION, COMPILER GENERATOR, PROLOG

Abstract:

We present the latest version of the LOGEN partial evaluation system for logic programs. In particular we present new binding-types, and show how they can be used to effectively specialise a wide variety of interpreters. We show how to achieve Jones-optimality in a systematic way for several interpreters. Finally, we present and specialise a nontrivial interpreter for a small functional programming language. Experimental results are also presented, highlighting that the LOGEN system can be a good basis for generating compilers for high-level languages.