Trying to fix a SA bug
Fixed error that left a scope early
Added a conditional to prevent chencking the symbol table for the same id multiple times
Correction to AST and more SA work
Added a method to check scope for identifiers
If an id is not found in the current scope, check the parent scope...
Included line number in ST error message if an id is not found in the ST
Added ST checks for assign, while, and if
Improved while loop SA, added better ST checking for conditions
Added scope checking for if statements
Mark identifiers as initialized if a value is assigned to it
Added warning for unused identifiers
Set 'used' property of identifiers to true if they are being used
Added warning output if identifiers are declared but never used or initilaized and error output if identifiers are used without being initialized first
Moved constructors
SA code cleanup and added type checking divider comment
Added pointers from AST ideantifier leaf nodes to the ST and did some basic setup for type checking
Improved verbose output for SA
More improvements to SA verbose output