2009-12-24 02:12:29 -05:00
|
|
|
=
|
|
|
|
{
|
|
|
|
} } {
|
|
|
|
{ { } }
|
|
|
|
} }{ {
|
|
|
|
{ }{ } } _____ __ __
|
|
|
|
( }{ }{ { ) / ____| / _|/ _|
|
|
|
|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
|
|
|
|
( ( } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|
|
|
|
|`-..________ ..-'| | |___| (_) | | | || __/ __/
|
|
|
|
| | \_____\___/|_| |_| \___|\___|
|
|
|
|
| ;--.
|
|
|
|
| (__ \ _____ _ _
|
|
|
|
| | ) ) / ____| (_) | |
|
|
|
|
| |/ / | (___ ___ _ __ _ _ __ | |_
|
|
|
|
| ( / \___ \ / __| '__| | '_ \| __|
|
|
|
|
| |/ ____) | (__| | | | |_) | |_
|
|
|
|
| | |_____/ \___|_| |_| .__/ \__|
|
|
|
|
`-.._________..-' | |
|
|
|
|
|_|
|
|
|
|
|
|
|
|
|
|
|
|
CoffeeScript is a little language that compiles into JavaScript.
|
|
|
|
|
|
|
|
Install the compiler:
|
|
|
|
gem install coffee-script
|
|
|
|
|
|
|
|
Compile a script:
|
2009-12-26 11:57:13 -05:00
|
|
|
coffee /path/to/script.coffee
|
2009-12-24 02:12:29 -05:00
|
|
|
|
|
|
|
For documentation, usage, and examples, see:
|
|
|
|
http://jashkenas.github.com/coffee-script/
|
|
|
|
|
|
|
|
To suggest a feature or report a bug:
|
|
|
|
http://github.com/jashkenas/coffee-script/issues/
|
|
|
|
|
|
|
|
The source repository:
|
2009-12-24 03:12:07 -05:00
|
|
|
git://github.com/jashkenas/coffee-script.git
|
2010-01-06 22:57:21 -05:00
|
|
|
|
|
|
|
Warning:
|
|
|
|
If you're building CoffeeScript from source, the Racc-generated
|
|
|
|
parser.rb was recently removed from revision control. Use
|
|
|
|
`rake build:parser` to regenerate it.
|