rogp/jspp — Issue #14: Google Closure annotations
Author: Ezward
Created: 2011-10-31 21:04:38+00:00
State: open

The Google Closure compiler compiles annotated Javascript into highly optimized/minified javascript. It uses @annotations for class, interface, types, visibility etc. in order to do static optmizations on the code, such as dead-code elmination.

Javascript++ has all the semantic knowledge for static optimization. If this could be passed into the emitted Javascript, then the Google Closure compiler could be used to optimize and minify the resulting code.