mattbierner / khepri

ECMAScript derived programming language
http://khepri-lang.com/
MIT License
67 stars 3 forks source link

Generated Code: merge variable declarations #44

Closed mattbierner closed 10 years ago

mattbierner commented 10 years ago

merge neighboring variable declarations

Longer term it would be better to generate all variable declarations at the top of their real blocks and rewrite declarations to assignments that initialize the values. Jslint declarations would make generated code more debuggable but writing source that way is insane.