▼ [雑記]CoffeeScriptはインストールしなくてもブラウザ上で実行できるよという話 CoffeeScript Ruby + Pythonな構文でJavaScriptが書けるCoffeeScriptですが、ブラウザから使ってみるだけなら、type属性に"text/coffeescript"を指定したscript要素の中に直接コードを書いて、後はコンパイラを直接ロードしてしまえば実行できます。 <script type="text/coffeescript"> # 実行したいCoffeeScript構文 </script> <script type="text/javascript" src="http://jashkenas.github.com/coffee-script/extras/coffee-script.js"></script> 動かしてみるとこんな感じになります。
![CoffeeScriptはインストールしなくてもブラウザ上で実行できるよという話 - ariyasacca(2011-02-21)](https://cdn-ak-scissors.b.st-hatena.com/image/square/cbed2ce3f21f82bd29615b2f836dd86a6e6cc09f/height=288;version=1;width=512/http%3A%2F%2Fsangoukan.xrea.jp%2Fcgi-bin%2FtDiary%2Ftheme%2Fogimage.png)