The implementation of generators and goal-directed evaluation in Icon.
Generators and goal-directed evaluation provide a rich programming paradigm when combined with traditional control structures in an imperative language. Icon is a language whose goal-directed evaluation is integrated with traditional control structures. This integration provides powerful mechanisms...
Main Author: | |
---|---|
Other Authors: | |
Language: | en |
Published: |
The University of Arizona.
1988
|
Subjects: | |
Online Access: | http://hdl.handle.net/10150/184491 |
id |
ndltd-arizona.edu-oai-arizona.openrepository.com-10150-184491 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-arizona.edu-oai-arizona.openrepository.com-10150-1844912015-10-23T04:29:40Z The implementation of generators and goal-directed evaluation in Icon. O'Bagy, Janalee. Griswold, Ralph E. Downey, Peter J. Schlichting, Richard D. Icon (Computer program language) Generators (Computer programs) Generators and goal-directed evaluation provide a rich programming paradigm when combined with traditional control structures in an imperative language. Icon is a language whose goal-directed evaluation is integrated with traditional control structures. This integration provides powerful mechanisms for formulating many complex programming operations in concise and natural ways. However, generators, goal-directed evaluation, and related control structures introduce implementation problems that do not exist for languages with only conventional expression evaluation. This dissertation presents an implementation model using recursion that serves as a basis for both an interpreter and a compiler. Furthermore, in the case of the compiler, optimizations can be performed to improve the efficiency of Icon programs, mainly by reducing the general evaluation strategy whenever possible. The dissertation describes a compile-time semantic analysis used to gather information about the properties of expressions and how they are used at their lexical sites. The optimizations that can be performed using this information are illustrated in the context of the compiler model described in the dissertation. 1988 text Dissertation-Reproduction (electronic) http://hdl.handle.net/10150/184491 701367984 8824284 en Copyright © is held by the author. Digital access to this material is made possible by the University Libraries, University of Arizona. Further transmission, reproduction or presentation (such as public display or performance) of protected items is prohibited except with permission of the author. The University of Arizona. |
collection |
NDLTD |
language |
en |
sources |
NDLTD |
topic |
Icon (Computer program language) Generators (Computer programs) |
spellingShingle |
Icon (Computer program language) Generators (Computer programs) O'Bagy, Janalee. The implementation of generators and goal-directed evaluation in Icon. |
description |
Generators and goal-directed evaluation provide a rich programming paradigm when combined with traditional control structures in an imperative language. Icon is a language whose goal-directed evaluation is integrated with traditional control structures. This integration provides powerful mechanisms for formulating many complex programming operations in concise and natural ways. However, generators, goal-directed evaluation, and related control structures introduce implementation problems that do not exist for languages with only conventional expression evaluation. This dissertation presents an implementation model using recursion that serves as a basis for both an interpreter and a compiler. Furthermore, in the case of the compiler, optimizations can be performed to improve the efficiency of Icon programs, mainly by reducing the general evaluation strategy whenever possible. The dissertation describes a compile-time semantic analysis used to gather information about the properties of expressions and how they are used at their lexical sites. The optimizations that can be performed using this information are illustrated in the context of the compiler model described in the dissertation. |
author2 |
Griswold, Ralph E. |
author_facet |
Griswold, Ralph E. O'Bagy, Janalee. |
author |
O'Bagy, Janalee. |
author_sort |
O'Bagy, Janalee. |
title |
The implementation of generators and goal-directed evaluation in Icon. |
title_short |
The implementation of generators and goal-directed evaluation in Icon. |
title_full |
The implementation of generators and goal-directed evaluation in Icon. |
title_fullStr |
The implementation of generators and goal-directed evaluation in Icon. |
title_full_unstemmed |
The implementation of generators and goal-directed evaluation in Icon. |
title_sort |
implementation of generators and goal-directed evaluation in icon. |
publisher |
The University of Arizona. |
publishDate |
1988 |
url |
http://hdl.handle.net/10150/184491 |
work_keys_str_mv |
AT obagyjanalee theimplementationofgeneratorsandgoaldirectedevaluationinicon AT obagyjanalee implementationofgeneratorsandgoaldirectedevaluationinicon |
_version_ |
1718097375252185088 |