node.js �� CoffeeScript �������Ă݂� 1

�ȑO�uCoffeeScript �������Ă݂��v�Ƃ����l�^�������܂����� CoffeeScript �� node.js �Ŏg�����Ƃ��ł���̂� node.js �ɓ���Ď����Ă݂܂��B

�܂��̓O���[�o���C���X�g�[���B

$ sudo npm install -g coffee-script

CoffeeScript �̃\�[�X�������܂��B

$ vi test.coffee
alert "hello"

����Ȋ����B

CoffeeScript �� �S�R�킩��Ȃ��A���Đl�� ���̃T�C�g���Q�l�ɂȂ�Ǝv���܂��B

[�Q�l]
CoffeeScript���ĂȂ񂼁H

�R���p�C������� js �t�@�C�����ł��܂��B

$ coffee -c test.coffee

�ł��� js �t�@�C�������Ă݂܂��B

$ cat test.js
(function() {

  alert("hello");

}).call(this);

������ JavaScript �ɂȂ��Ă܂����B

Google �T�C�g������

Amazon�A�\�V�G�C�g