mayankmahajan24 / QL

QL Language and Compiler, for Programming Langauges and Translators Course Fall 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scoping Issues

mattpiccolella opened this issue · comments

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.

#46 fixes this, I believe