The SL5 procedure mechanism
- 1 May 1978
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 21 (5), 392-400
- https://doi.org/10.1145/359488.359502
Abstract
This paper describes an integrated procedure mechanism that permits procedures to be used as recursive functions or as coroutines. This integration is accomplished by treating procedures and their activation records (called environments) as data objects and by decomposing procedure invocation into three separate components at the source-language level. In addition, argument binding is under the control of the programmer, permitting the definition of various methods of argument transmission in the source language itself. The resulting procedure mechanism, which is part of the SL5 programming language, is well suited to goal-oriented problems and to other problems that are more readily programmed by using coroutines. Several examples are given.Keywords
This publication has 14 references indexed in Scilit:
- Data structures in SL5Computer Languages, 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 procedural approach to pattern matching in SNOBOL4Published by Association for Computing Machinery (ACM) ,1974
- A model and stack implementation of multiple environmentsCommunications of the ACM, 1973
- A survey of control structures in programming languagesACM SIGPLAN Notices, 1972
- The humble programmerCommunications of the ACM, 1972
- On implementation of label, variablesCommunications of the ACM, 1971
- The function of FUNCTION in LISP or why the FUNARG problem should be called the environment problemACM SIGSAM Bulletin, 1970