Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Automatic transformation of series expressions into loops
Waters R. ACM Transactions on Programming Languages and Systems13 (1):52-98,1991.Type:Article
Date Reviewed: Jan 1 1992

A series is a possibly unbounded sequence of values. Compositions of functions that operate on series are generally briefer and more easily understood than alternative expressions of the same computation, for example, the sum of the squares of the differences of the corresponding elements of two series. Programming with series feels a lot like using APL, except that the series need not be computed before their use, and in fact may be infinite, and the intermediate series results need never be stored and the computation is therefore extremely efficient.

This paper provides some relatively easy to understand conditions under which such expressions can be compiled into extremely efficient loops and describes the Common Lisp implementation. All of the above also appears in the Common Lisp manual [1]. (It is only fair to point out that this paper was submitted long before that manual came out.) Waters also describes a prototype implementation for Pascal, describes how the efficient loop is assembled from the series expression, discusses related work, and attempts to compare series with the facilities available in other languages.

Reviewer:  D. Cohen Review #: CR115251
1) Steele, G. L., Jr. Common LISP: the language (2nd ed.). Digital Press, Bedford, MA, 1990.
Bookmark and Share
 
Program Transformation (I.2.2 ... )
 
 
Data Types And Structures (D.3.3 ... )
 
 
Applicative (Functional) Programming (D.1.1 )
 
 
Language Constructs and Features (D.3.3 )
 
 
Processors (D.3.4 )
 
Would you recommend this review?
yes
no
Other reviews under "Program Transformation": Date
Eliminating Redundant Recursive Calls.
Cohen N. ACM Transactions on Programming Languages and Systems 5(3): 265-299, 1983. Type: Article
Feb 1 1985
On convergence toward a database of program transformations
Barstow D. ACM Transactions on Programming Languages and Systems 7(1): 1-9, 1985. Type: Article
Jul 1 1985
Automating the transformational development of software
Fickas S. IEEE Transactions on Software Engineering SE-11(11): 1268-1277, 1985. Type: Article
Feb 1 1987
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy