[IPython-dev] CoffeeScript Support

Carl Smith carl.input@gmail....
Sat Jul 14 12:37:53 CDT 2012

I was playing with a magic last night that takes a line or cell of
CoffeeScript and compiles it to a JavaScript function. It then prints
the JavaScript as the output and also calls display(Javascript()) to
load it into the page.

If I do...

%coffee alert 'hello world'

then it prints...

(function() {

  alert('hello world');


and an alert pops up saying hello world.

Has anyone else looked into doing anything with CoffeeScript? It seems
like it'd be handy in the Notebook.

More information about the IPython-dev mailing list