2014-02-28 01:19:04 -05:00
|
|
|
{
|
|
|
|
} } {
|
|
|
|
{ { } }
|
|
|
|
} }{ {
|
|
|
|
{ }{ } } _____ __ __
|
|
|
|
{ }{ }{ { } / ____| / _|/ _|
|
|
|
|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
|
|
|
|
( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|
|
|
|
|`-..________ ..-'| | |___| (_) | | | || __/ __/
|
|
|
|
| | \_____\___/|_| |_| \___|\___|
|
|
|
|
| ;--.
|
|
|
|
| (__ \ _____ _ _
|
|
|
|
| | ) ) / ____| (_) | |
|
|
|
|
| |/ / | (___ ___ _ __ _ _ __ | |_
|
|
|
|
| ( / \___ \ / __| '__| | '_ \| __|
|
|
|
|
| |/ ____) | (__| | | | |_) | |_
|
|
|
|
| | |_____/ \___|_| |_| .__/ \__|
|
|
|
|
`-.._________..-' | |
|
|
|
|
|_|
|
|
|
|
|
|
|
|
CoffeeScript is a little language that compiles into JavaScript.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2014-02-28 14:18:54 -05:00
|
|
|
If you have the node package manager, npm, installed:
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
|
|
```shell
|
|
|
|
npm install -g coffee-script
|
|
|
|
```
|
|
|
|
|
2014-02-28 14:18:54 -05:00
|
|
|
Leave off the `-g` if you don't wish to install globally. If you don't wish to use npm:
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
|
|
```shell
|
2014-05-08 15:07:42 -04:00
|
|
|
git clone https://github.com/jashkenas/coffeescript.git
|
2014-02-28 01:19:04 -05:00
|
|
|
sudo coffee-script/bin/cake install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
Execute a script:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
coffee /path/to/script.coffee
|
|
|
|
```
|
|
|
|
|
|
|
|
Compile a script:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
coffee -c /path/to/script.coffee
|
|
|
|
```
|
|
|
|
|
|
|
|
For documentation, usage, and examples, see: http://coffeescript.org/
|
|
|
|
|
2014-05-08 15:07:42 -04:00
|
|
|
To suggest a feature or report a bug: http://github.com/jashkenas/coffeescript/issues
|
2014-02-28 01:19:04 -05:00
|
|
|
|
2014-02-28 07:59:24 -05:00
|
|
|
If you'd like to chat, drop by #coffeescript on Freenode IRC.
|
2014-02-28 01:19:04 -05:00
|
|
|
|
2014-05-08 15:07:42 -04:00
|
|
|
The source repository: https://github.com/jashkenas/coffeescript.git
|
2014-02-28 01:19:04 -05:00
|
|
|
|
2014-05-08 15:07:42 -04:00
|
|
|
Our lovely and talented contributors are listed here: http://github.com/jashkenas/coffeescript/contributors
|