liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
A program manipulation system based on partial evaluation
Linköping University, Department of Mathematics. Linköping University, The Institute of Technology.
1977 (English)Doctoral thesis, monograph (Other academic)
Abstract [en]

Program manipulation is the task to perform transformations on program code, and is normally done in order to optimize the code with respect of the utilization of some computer resource. Partial evaluation is the task when partial computations can be performed in a program before it is actually executed. If a parameter to a procedure is constant a specialized version of that procedure can be generated if the constant is inserted instead of the parameter in the procedure body and as much computations in the code as possible are performed.

A system is described which works on programs written in INTERLISP, and which performs partial evaluation together with other transformations such as beta-expansion and certain other optimization operations. The system works on full LISP and not only for a "pure" LISP dialect, and deals with problems occurring there involving side-effects, variable assignments etc. An analysis of a previous system, REDFUN, results in a list of problems, desired extensions and new features. This is used as a basis for a new design, resulting in a new implementation, REDFUN-2. This implementation, design considerations, constraints in the system, remaining problems, and other experience from the development and experiments with the system are reported in this paper.     

Place, publisher, year, edition, pages
Linköping: Linköpings universitet , 1977. , 264 p.
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 14
Keyword [en]
program manipulation, partial evaluation, program optimization, LISP, beta-expansion, macro-expansion
National Category
Computer Science
URN: urn:nbn:se:liu:diva-35618Local ID: 27969ISBN: 91-7372-144-1 (print)OAI: diva2:256466
Public defence
1977-07-01, 00:00

Date of defense not available.

Available from: 2009-10-10 Created: 2009-10-10 Last updated: 2013-01-18

Open Access in DiVA

No full text

Search in DiVA

By author/editor
Haraldsson, Anders
By organisation
Department of MathematicsThe Institute of Technology
Computer Science

Search outside of DiVA

GoogleGoogle Scholar

Total: 164 hits
ReferencesLink to record
Permanent link

Direct link