Binding
Binding Semantics to Syntax (Lexemes):
Variable with Attributes, Symbol with Operation
Binding Times:
- Language Design Time
- E.g., Symbols for Operations
- Language Implementation Time
- E.g., Range, Precision of Reals
- Compile Time
- Link Time
- E.g., Library Routine Call with Code
- Load Time
- E.g., Global variable with Cell
- Run Time
- E.g., Variable with Value
Types of Binding:
- Static: Occurs before run-time, stays
unchanged through execution
- Dynamic: Occurs/Changes during execution