Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 3
- if true
- x = 5
- # x should be 5 here. Dynamic scope means it's 3
- # But dynamic scope is needed for proper macros. So maybe have = do lexical assignment (propagating up the scope stack) and have another operator do dynamic assignment (only in the current scope)
Add Comment
Please, Sign In to add comment