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

Direct link
A program manipulation system based on partial evaluation
1977 (English)Doktorsavhandling, monografi (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, pages
Linköping: Linköpings universitet, 1977. 264 p.
Series
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
Identifiers
urn:nbn:se:liu:diva-35618 (URN)27969 (Local ID)91-7372-144-1 (ISBN)oai:DiVA.org:liu-35618 (OAI)
Public defence
1977-07-01, 00:00
Note

Date of defense not available.

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

Open Access in DiVA

No fulltext

Search in DiVA

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

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available
Totalt: 56 hits
ReferencesLink to record
Permanent link

Direct link