Semantic Analysis
Compile Design I (2011) 2
Outline
- The role of semantic analysis in a compiler
– A laundry list of tasks
- Scope
– Static vs. Dynamic scoping – Implementation: symbol tables
- Types
– Statically vs. Dynamically typed languages
Compile Design I (2011) 3
Where we are
Compile Design I (2011) 4