The implementation of generators and goal‐directed evaluation in icon
Stephen B. Wampler, Ralph E. Griswold · Software Practice and Experience · 1983
Abstract Two features of the Icon programming language strongly influence its implementation: generators and goal‐directed evaluation. A generator is an expression that is capable of producing a sequence of results. In goal‐directed evaluation, the results of generators are produced automatically in an attempt to complete computations successfully. This paper describes the generated code and run‐time support for generators, goal‐directed evaluation, and related control structures.