CoffeeScriptRedux icon indicating copy to clipboard operation
CoffeeScriptRedux copied to clipboard

CoffeeScript compiler statically compiled

Open steida opened this issue 13 years ago • 7 comments

It would be nice to have CoffeeScript compiler statically compiled. Closure compiler checks syntax, variable references, and types, and warns about common JavaScript pitfalls with unbeatable level of compression. It's easily possible with Google Closure type annotations and github.com/Steida/este dev stack. You can even run your tests on source file change and see results immediately in console.

I'm just curious what is your opinion.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

steida avatar Sep 24 '12 01:09 steida

Maybe you could extend syntax to compile to TypeScript and Source Maps to get type information. It's long shot I guess.

sheerun avatar Oct 05 '12 09:10 sheerun

If you're interested in getting stractural type tree, doctrine can parse closure-compiler style type annotation.

Constellation avatar Oct 05 '12 15:10 Constellation

Extending the syntax and cross-compiling via TypeScript would be AWESOME. Thats exactly what i've been looking for - neat grammar and powerful control.

TobiaszCudnik avatar Dec 05 '12 16:12 TobiaszCudnik

The typed coffeescript package links here so does that mean that the compiler can handle optional typing?

pspeter3 avatar Dec 17 '13 18:12 pspeter3

No.

vendethiel avatar Dec 17 '13 18:12 vendethiel

Sad. Optional typing for CoffeeScript would be amazing

pspeter3 avatar Dec 17 '13 18:12 pspeter3

The typed coffeescript package links here

It's a mistake. It should be linked here: https://github.com/mizchi/TypedCoffeeScript

rlidwka avatar Dec 17 '13 23:12 rlidwka