prakhar1989 / JSJS

A strongly typed language for the web!
http://jsjs-lang.org
MIT License
40 stars 5 forks source link

Environment Aware Codegen #74

Closed gaurangsadekar closed 8 years ago

gaurangsadekar commented 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

bahuljain commented 8 years ago

jaldi kar, warna mein merge kar dunga!!!

prakhar1989 commented 8 years ago

Sex work, guys!!! 👯