LiU Electronic Press
Full-text not available in DiVA
Author:
Haraldsson, Anders (Linköping University, Department of Mathematics) (Linköping University, The Institute of Technology)
Title:
A program manipulation system based on partial evaluation
Department:
Linköping University, Department of Mathematics
Linköping University, The Institute of Technology
Publication type:
Doctoral thesis, monograph (Other academic)
Language:
English
Place of publ.: Linköping Publisher: Linköpings universitet
Pages:
264
Series:
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524; 14
Year of publ.:
1977
URI:
urn:nbn:se:liu:diva-35618
Permanent link:
http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-35618
ISBN:
91-7372-144-1
Local ID:
27969
Subject category:
Computer Science
SVEP category:
Computer science
Keywords(en) :
program manipulation, partial evaluation, program optimization, LISP, beta-expansion, macro-expansion
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.     

Note:

Date of defense not available.

Public defence:
1977-07-01, 00:00
Available from:
2009-10-10
Created:
2009-10-10
Last updated:
2013-01-18
Statistics:
54 hits