Closed ericwb closed 3 months ago
Only the global (top-most) scope should have symbols visible to all inner scopes.
This changes the symbol table to no longer recursive search through parent symtabs and instead search current scope or global.
Future work should handle enclosed scope and global vs. nonlocal assignments (in Pyt have symbols visible to all inner scopes.
Future work should handle enclosed scope and global vs. nonlocal assignments (in Python))
Only the global (top-most) scope should have symbols visible to all inner scopes.
This changes the symbol table to no longer recursive search through parent symtabs and instead search current scope or global.
Future work should handle enclosed scope and global vs. nonlocal assignments (in Pyt have symbols visible to all inner scopes.
This changes the symbol table to no longer recursive search through parent symtabs and instead search current scope or global.
Future work should handle enclosed scope and global vs. nonlocal assignments (in Python))