rkoeninger / ShenScript

Shen for JavaScript
BSD 3-Clause "New" or "Revised" License
57 stars 4 forks source link

Generating statement-oriented syntax in backend #2

Closed rkoeninger closed 5 years ago

rkoeninger commented 5 years ago

Still plenty of hanging TODOs - going to merge while this is stable.

This is just Phase 1 of this project. In Phase 2, I will try to build more optimized (in terms of code volume) JS by making the code generation process more context sensitive. This will eliminate many/most of the temporary result variables (e.g. R123$).