mayankmahajan24 / QL

QL Language and Compiler, for Programming Langauges and Translators Course Fall 2015
4 stars 2 forks source link

Scoping Issues #45

Closed mattpiccolella closed 8 years ago

mattpiccolella commented 8 years ago

Right now, we're allowed to refer to variables that weren't declared directly within a function. This is bad - our functions don't work. I think ideally, that means we clear out all the variables in a map before we pass a symbol table to a function call (we wanna leave the functions, because we want to be able to call other functions within functions). We'll talk about this, though.

mattpiccolella commented 8 years ago

46 fixes this, I believe