CS 334 Lecture 10
Contents:
- Type completeness principle:
- Summary of types so far:
- STORAGE
- Program Units:
- To call:
- To return:
- Memory allocation
- Static using FORTRAN as example
- Stack-based languages using ALGOL 60/Pascal
- Allocation of Activation Record
- 1. Activation record size known statically.
- 2. Size known at unit activation (semi-dynamic).
- 3. Size can vary at any time - Dynamic variables.
- Dynamic Language - Dynamic Scoping & Typing
- Implementation of dynamic types:
- Implementation of dynamic scope: