Lecture 6: Variables and Environments

You will learn:

  • Recursive nature of the interpreter
  • Environment: repository of variables
  • Environment Record
  • Define, Assign, Lookup
  • The Global Environment

Example: environments in JavaScript: http://dmitrysoshnikov.com/ecmascript/javascript-the-core-2nd-edition/#environment