


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Programming Language Design; Subject: Computer Science; University: University of Illinois - Chicago; Term: Unknown 1989;
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



I. General Semantics of Calls and Returns A. What the caller of a subprogram must do:
II. Implementing FORTRAN 77 Subprograms A. Simplifying characteristics:
III. Implementing Subprograms in ALGOL-like Languages A. More complex than in FORTRAN 77 because:
C. The order of items on the activation record is significant: return address, static & dynamic links, parameters, local variables. (This may be a bit different in practice...) D. See example of a simple activation record on the [overhead] E. An Example without recursion and nonlocal references [overhead] F. An Example with recursion [overhead] G. Mechanisms for Implementing Nonlocal References
VI. Implementing Parameters that are Subprogram Names A. Static Chaining -The caller and callee must share a static ancestor, which should be the static parent of the callee. The address of this static parent is then passed along with the subprogram name, where this address is then used to set the static link in the callee's ARI. B. Displays