Generators in Icon
- 1 April 1981
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 3 (2) , 144-161
- https://doi.org/10.1145/357133.357136
Abstract
Icon is a new programming language that includes a goal-directed expression evaluation mechanism. This mechanism is based on generators--expressions that are capable of producing more than one value. If the value produced by a generator does not lead to a successful result, the generator is automatically activated for an alternate value. Generators form an integral part of Icon and can be used anywhere. In addition, they form the basis for the string scanning facility and subsume some of the control expressions found in other languages. Several examples are given.Keywords
This publication has 15 references indexed in Scilit:
- An Alternative to the Use of Patterns in String ProcessingACM Transactions on Programming Languages and Systems, 1980
- The icon programming languageACM SIGPLAN Notices, 1979
- Backtracking in a Generalized Control SettingACM Transactions on Programming Languages and Systems, 1979
- The SL5 procedure mechanismCommunications of the ACM, 1978
- An overview of SL5ACM SIGPLAN Notices, 1977
- A procedure mechanism for backtrack programmingPublished by Association for Computing Machinery (ACM) ,1976
- New Programming Languages for Artificial Intelligence ResearchACM Computing Surveys, 1974
- A model and stack implementation of multiple environmentsCommunications of the ACM, 1973
- Nondeterministic AlgorithmsJournal of the ACM, 1967
- Backtrack ProgrammingJournal of the ACM, 1965