Contracts.coffee Works In Node.js!

Tim Disney September 20, 2011
Source
Contracts.coffee now works in node.js! V8 (the JavaScript engine used by node) has recently added support for Proxies which contracts.coffee requires. You'll need a bleeding edge version of node to get it running. Try either master (unstable) or 0.5.7. Build instructions are here. Proxies are hidden behind a command line flag in V8 so you'll also need to supply harmony proxies to node when calling the compiler: node harmony proxies bin/coffee CL test.coffee There are almost certainly node specific bugs in contracts.coffee so don't trust it with anything important yet. You can get started playing though! Report any bugs you run into on the issue tracker.

Discussion in the ATmosphere

Loading comments...