Lesson 18: Frames and if/let
Outline:
- Recap: lexical vs. dynamic scoping
- Frames
- definitions
- special form:
let, revisited
- Environment model of evaluation
- overview
- special form:
if
- [If time] Special forms:
letvs.let*vs.letrec - Wrap-up
What’s next
Upcoming events/assessments:
- Interpreter Parts 1–3 (linked list + talloc + tokenizer) cannot be resubmitted after Wednesday at 10pm
What you should do now:
- Read the assigned readings (see below)
- Work on resubmitting Interpreter Parts 1–3 with more complete functionality, style fixes, etc.
- Work on Interpreter Part 4: Parser
Reading assignment (to be completed by the next class):
Scheme Environment Model (from today):
Lambda and closures (for next time):