Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
ContinuationPassing, ClosurePassing Style Andrew W. Appel*
 

Summary: ­
Continuation­Passing, Closure­Passing Style
Andrew W. Appel*
Trevor Jim+
CS­TR­183­88
July 1988
Revised September 1988
ABSTRACT
We implemented a continuation­passing style (CPS) code generator for ML. Our CPS language is
represented as an ML datatype in which all functions are named and most kinds of ill­formed expres­
sions are impossible. We separate the code generation into phases that rewrite this representation
into ever­simpler forms. Closures are represented explicitly as records, so that closure strategies can
be communicated from one phase to another. No stack is used. Our benchmark data shows that the
new method is an improvement over our previous, abstract­machine based code generator.
To appear in POPL '89.
* Supported in part by NSF Grant DCR­8603543 and by a Digital Equipment Corp. Faculty Incentive Grant.
+ AT&T Bell Laboratories, Murray Hill, NJ. Current address: Laboratory for Computer Science, MIT, Cambridge, Mass.

­ 2 ­
1. Overview

  

Source: Appel, Andrew W. - Department of Computer Science, Princeton University

 

Collections: Computer Technologies and Information Sciences