© 1983 by British Computer Society
Co-expression in Icon*

1 College of Engineering, Northern Arizona University, Flagstaff, USA, 2 Department of Computer Science, The University of Arizona, Tucson, USA
The Icon programming language has generators that are capable of producing sequences of results and a goal-directed evaluation mechanism that allows concise formulation of many kinds of computations. The evaluation of generators is restricted to their lexical site in a program, however. This paper describes co-expressions, an extension to Icon that allows generators to be used at any time or place in a program. Examples of co-expression usage are given and the relationship of co-expressions to coroutines is discussed.
Received April 1982.
* This work was supported by the National Science Foundation under Grants MCS79-03890 and MCS81-01916.
Department of Computer Science, The University of Arizona, Tucson, Arizona 85721, USA