Re:Show HN: Weekend project - VS2010 CoffeeScript syntax hig...
by chrisb on Monday July 04, 2011 @02:10AM
(#2725575)
Not quite what you are asking for, but I've recently started using the Chirpy VS add-in (chirpy.codeplex.com). It comiles CoffeeScript on save in VS, producing one readable and one minified js version.
It also handles .less, but I haven't used this yet.
Re:Show HN: Weekend project - VS2010 CoffeeScript syntax hig...
by dualogy on Sunday July 03, 2011 @11:11PM
(#2725241)
The CoffeeScript compiler is written in CoffeeScript so you can run it wherever you have a JavaScript runtime running. So easy to compile in the browser if eval()ing the compilation result is acceptable. (There's some fancy <script type="text/coffeescript"> or some such example on the CoffeeScript project homepage)
Server-side on Windows... not sure, IronJS / JScript.NET I believe?
Re:Show HN: Weekend project - VS2010 CoffeeScript syntax hig...
by amirshim on Monday July 04, 2011 @01:27AM
(#2725483)
sure... you can run coffeescript on node on windows, see: http://blog.tatham.oddie.com.au/2011/03/16/node-js-on-window...
And if you don't want to use vs2010, there is also gedit on windows which has support for coffeescript.
As for online, what I do is I have an online coffeescript editor (http://ace.ajax.org/), and when I save a file (with extension .coffee), compile it to js in the browser and save both the original .coffee file and .js file back to the server.
What I would really like is to be able to run the compiler from code, allowing me to keep .coffee files on the server and compile/cache them into javascript when browsers request them.