Sciweavers

JFLP
2002

A Practical Partial Evaluation Scheme for Multi-Paradigm Declarative Languages

13 years 11 months ago
A Practical Partial Evaluation Scheme for Multi-Paradigm Declarative Languages
We present a practical partial evaluation scheme for multi-paradigm declarative languages combining features from functional, logic, and concurrent programming. In contrast to previous approaches, we consider an intermediate representation for programs into which source programs can be automatically translated. The use of this simplified representation, together with the appropriate control issues, make our partial evaluation scheme practically applicable to modern multi-paradigm declarative languages like Curry. An implementation of a partial evaluator for Curry programs has been undertaken. The partial evaluator allows the specialization of programs containing higher-order functions, calls to external functions, concurrent constraints, etc. Our partial evaluation tool is integrated in the PAKCS programming environment for the language Curry as a source-to-source transformation on intermediate programs. The partial evaluator is written in Curry itself. To the best of our knowledge, t...
Elvira Albert, Michael Hanus, Germán Vidal
Added 22 Dec 2010
Updated 22 Dec 2010
Type Journal
Year 2002
Where JFLP
Authors Elvira Albert, Michael Hanus, Germán Vidal
Comments (0)