Want this course?
Adding static scope information
We modify the compiler to add static scope information. Even though we don't know the value of variables until runtime, we do know the names of the variables at compile time. We can use that to make missing variables a compiler error.