Specialising interpreters using offline partial deduction
Author:
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.