Hi, While I'm sorry to say that I'm still knee deep in a work project and won't have time to contribute for some time yet, this weekend I ran across something that might be helpful for the project:
The Closure Compiler has made large improvements over the past few releases. One area is ECMASript 6 (JS.Next; Harmony) support. The GCC is now able to take nearly all ES6 syntax and transpile it to ES3/ES5 before optimizing it. Most interesting of the new JavaScript features is native support for 'class' and 'extends'. Another is modules: 'import' and 'export'. Another interesting development is that the GCC is getting support for TypeScript style type annotation. Taken together this means that the GCC is increasingly capable of parsing JavaScript that eerily looks like Actionscript: <code> import Hello from './Hello'; export default class ByeBye extends Hello { constructor () { super(); } sayHello(value:string):string { return super('World') + ' again (by: ' + value + ')'; } } </code> I've uploaded [1] an example 'project' - including all features described above, with latest GCC and ant build file with the proper GCC arguments - to my personal Apache area [1] for you viewing and playing pleasure. Have fun! EdB 1: http://s.apache.org/6SZ -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl