Playlist | schedule page slides as PDF |
Variable 1 — assignment (3:27)
PLAI§8.2. Considering mutable variables and assignment again, instead of and in contrast to mutable boxes.
Variable 2 — store (3:48)
Examples of interpreting with mutable variables and an explicit store.
Variable 3 — interp (3:30)
Implementing interp for Curly with mutable variables. See variable.rkt.
Variable 4 — variables as boxes (5:41)
On the expressiveness of variables and boxes — they’re the same — and encoding boxes with variables.
Variable 5 — call by reference (4:16)
On implementing call-by-reference, which is generally a bad idea.