Fix lexer error reporting bug
Add ability to reference assigned variables