Closed gaurangsadekar closed 8 years ago
Almost completely rewrote codegen. It now generates code using a little more scope information, as opposed to the word for word translation we were doing initially.
Did this because of Javascript's funny behavior with 'let' and 'var' scoping. New codegen enforces more traditional scoping and shadowing rules in local and global scopes.
Fixes #72
jaldi kar, warna mein merge kar dunga!!!
Sex work, guys!!! 👯
Almost completely rewrote codegen. It now generates code using a little more scope information, as opposed to the word for word translation we were doing initially.
Did this because of Javascript's funny behavior with 'let' and 'var' scoping. New codegen enforces more traditional scoping and shadowing rules in local and global scopes.
Fixes #72