Access Restriction

Author Griswold, Ralph E. ♦ Hanson, David R.
Source ACM Digital Library
Content type Text
Publisher Association for Computing Machinery (ACM)
File Format PDF
Language English
Subject Keyword Backtracking ♦ Coroutines ♦ Interpreters ♦ Procedures ♦ Snobol4 ♦ Programming languages
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.
Description Affiliation: The Univ. of Arizona, Tucson (Griswold, Ralph E.) || Yale Univ., New Haven, CT (Hanson, David R.)
Age Range 18 to 22 years ♦ above 22 year
Educational Use Research
Education Level UG and PG
Learning Resource Type Article
Publisher Date 2005-08-01
Publisher Place New York
Journal Communications of the ACM (CACM)
Volume Number 21
Issue Number 5
Page Count 9
Starting Page 392
Ending Page 400

Open content in new tab

   Open content in new tab
Source: ACM Digital Library