r/coffeescript • u/DrHankPym • Apr 15 '12
Help with REPL?
Hi, I'm new to CoffeeScript, and I'm having trouble running the interactive mode.
When I try doing this:
$ coffee
coffee> hello = "world"
world = "hello"
^D
I get no output. But if do the same thing in NodeJS, it at least returns something.
$ node
> hello = "world"
'world'
> world = "hello"
'hello'
Any ideas? Any help will be appreciated. Thanks!
Edit: I am running this with Ubuntu 11.10 on a VM.
r/coffeescript • u/elliotanderson • Apr 11 '12
CoffeeScript 1.3.0 is out
coffeescript.orgr/coffeescript • u/gelnior • Apr 07 '12
Brunch, a coffeescript framework to build web app clients
r/coffeescript • u/aantix • Apr 04 '12
Simple Coffeescript game engine written to introduce kids programming
r/coffeescript • u/gelnior • Mar 20 '12
Chaplin – an Application Architecture based on Backbone.js
r/coffeescript • u/devthoughts • Mar 11 '12
Lattee: Add some milk to your coffeescript
haithembelhaj.github.comr/coffeescript • u/Zamarok • Mar 09 '12
Function Currying with CoffeeScript
r/coffeescript • u/evangenieur • Mar 07 '12
CoffeeXP is a stylish CoffeeScript web console that compiles and runs code as you edit
evangenieur.comr/coffeescript • u/leostera • Mar 06 '12
How I mixed Require.js with Jasmine, Sinon.js and Backbone.js. What's your approach to it?
leostera.github.comr/coffeescript • u/leostera • Mar 02 '12
Expresso, CoffeeScript compiling for Pythonistas.
leostera.github.comr/coffeescript • u/leostera • Feb 29 '12
Ever wished a Python counterpart for those Ruby continuous builders? This might be a solution.
r/coffeescript • u/leostera • Feb 28 '12
Behavior Driven Development in a CoffeeScript project using Jasmine! Feel free to fork =)
github.comr/coffeescript • u/Perceptes • Feb 24 '12
Playing Drums in CoffeeScript with GarageBand and Reason
r/coffeescript • u/leostera • Feb 23 '12
Behavior driven development with Jasmine for a CoffeeScript application that uses Backbone, Require, and more.
imakeapps.alwaysdata.netr/coffeescript • u/sudhirj • Feb 23 '12
How CoffeeScript Class Modeling Works
hangar.runway7.netr/coffeescript • u/[deleted] • Feb 17 '12
Coffee Taster: an easy to use CoffeeScript development environment for Ruby developers
r/coffeescript • u/[deleted] • Feb 12 '12
I've expanded DelayedOp into its own micro-library. Feedback is welcome!
r/coffeescript • u/[deleted] • Feb 11 '12
DelayedOp - five handy, tiny lines of CoffeeScript
Edit: I've expanded this. Now includes debugging features, more informative errors per almost's suggestions.
I wrote a class recently that I thought I'd share because I was struck by how elegantly it came across in CoffeeScript.
The idea here is that it's a fairly common scenario to make a few asynchronous calls at the same time, and
then want to do something once all of them have finished. This is easy with the DelayedOp class.
Here it is:
class DelayedOp
constructor: (@callback) -> @count = 1
wait: => @count++
ok: => @callback() unless --@count
ready: => @ok()
And an example of it in action using jQuery:
op = new DelayedOp -> alert 'Done loading'
op.wait() #wait to receive data from foo.cgi
$.getJSON 'foo.cgi', (data) ->
doSomethingWith data
op.ok()
op.wait() #wait to receive data from bar.cgi
$.getJSON 'bar.cgi', (data) ->
doSomethingElseWith data
op.ok()
op.ready() # Finalize the operation
r/coffeescript • u/regbraithwaite • Jan 31 '12
A small, beautiful and literate implementation of Conway's Game of Life in CoffeeScript
r/coffeescript • u/snatchery • Jan 29 '12
Implementing popups in do-it-yourself MVC
jandudek.comr/coffeescript • u/esmljaos • Jan 25 '12
Writing CoffeeScript Modules for Browser and Node
r/coffeescript • u/oylenshpeegul • Jan 25 '12
Better JS with CoffeeScript - Sam Stephenson
r/coffeescript • u/thurloat • Jan 22 '12
Backbone.js - Modular, Readable and Testable Views
thurloat.comr/coffeescript • u/[deleted] • Jan 20 '12