pythoncoffeescript

CoffeeScript compiler without node.js?


I'd like to use CoffeeScript(CS) and the CS Compiler but without having to install Node.js.

I saw that the core compiler of CS is in JavaScript, so there's no need for Node.js to be installed, but I can't find any compiler written in Python/Java or any other languages, only Node.js.

Am I missing something? Will I have to write my own implementation in Python?


Solution

  • You can run javascript in python with http://code.google.com/p/pyv8/.

    You would run the javascript code for CoffeeScript compiler, and then compile CoffeeScript with that.