Macaroni is better than spaghetti
- 1 January 1977
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 12 (8) , 60-66
- https://doi.org/10.1145/800228.806933
Abstract
We present a stack implementation of multiple environments similar in principle to that of Bobrow and Wegbreit, but based on a model which provides both static and dynamic scoping. We note some of the pragmatic consequences of this choice of models; one is that no unnecessary control stack is retained for certain important constructions such as “upward funargs” and coroutines. We also discuss the correct treatment of exit functions, and the need for “entry functions” if dynamic switching of control contexts is to be consistent.Keywords
This publication has 0 references indexed in Scilit: