mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 09:17:55 -05:00
e88619a3bb33123c09521aa36fb459fc8cccdca8
# Conflicts: # documentation/sections/resources.md # lib/coffee-script/browser.js # lib/coffee-script/cake.js # lib/coffee-script/coffee-script.js # lib/coffee-script/command.js # lib/coffee-script/grammar.js # lib/coffee-script/helpers.js # lib/coffee-script/index.js # lib/coffee-script/lexer.js # lib/coffee-script/nodes.js # lib/coffee-script/optparse.js # lib/coffee-script/register.js # lib/coffee-script/repl.js # lib/coffee-script/rewriter.js # lib/coffee-script/scope.js # lib/coffee-script/sourcemap.js # package.json
Moved src/*.coffee under src/coffee-script/ so that lib can be added to $NODE_PATH and only expose the top-level coffee-script namespace. Fixes #1246
{
} } {
{ { } }
} }{ {
{ }{ } } _____ __ __
{ }{ }{ { } / ____| / _|/ _|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|`-..________ ..-'| | |___| (_) | | | || __/ __/
| | \_____\___/|_| |_| \___|\___|
| ;--.
| (__ \ _____ _ _
| | ) ) / ____| (_) | |
| |/ / | (___ ___ _ __ _ _ __ | |_
| ( / \___ \ / __| '__| | '_ \| __|
| |/ ____) | (__| | | | |_) | |_
| | |_____/ \___|_| |_| .__/ \__|
`-.._________..-' | |
|_|
CoffeeScript is a little language that compiles into JavaScript.
Installation
If you have the node package manager, npm, installed:
npm install --global coffee-script
Leave off the --global if you don’t wish to install globally.
Getting Started
Execute a script:
coffee /path/to/script.coffee
Compile a script:
coffee -c /path/to/script.coffee
For documentation, usage, and examples, see: http://coffeescript.org/
To suggest a feature or report a bug: http://github.com/jashkenas/coffeescript/issues
If you’d like to chat, drop by #coffeescript on Freenode IRC.
The source repository: https://github.com/jashkenas/coffeescript.git
Changelog: http://coffeescript.org/#changelog
Our lovely and talented contributors are listed here: http://github.com/jashkenas/coffeescript/contributors
Languages
CoffeeScript
64.6%
JavaScript
35.4%