{
} } {
{ { } }
} }{ {
{ }{ } } _____ __ __
{ }{ }{ { } / ____| / _|/ _|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|`-..________ ..-'| | |___| (_) | | | || __/ __/
| | \_____\___/|_| |_| \___|\___|
| ;--.
| (__ \ _____ _ _
| | ) ) / ____| (_) | |
| |/ / | (___ ___ _ __ _ _ __ | |_
| ( / \___ \ / __| '__| | '_ \| __|
| |/ ____) | (__| | | | |_) | |_
| | |_____/ \___|_| |_| .__/ \__|
`-.._________..-' | |
|_|
CoffeeScript 是一种小巧的编程语言,它可以编译成 JavaScript。
如果您已经安装了包管理器 npm
npm install -g coffee-script
如果要全局安装,请勿使用 -g
。如果您不打算使用 npm
git clone https://github.com/jashkenas/coffeescript.git
sudo coffeescript/bin/cake install
执行一个脚本
coffee /path/to/script.coffee
编译一个脚本
coffee -c /path/to/script.coffee
有关文档、用法和示例,请参阅:https://coffeescript.node.org.cn/
要建议功能或报告错误:http://github.com/jashkenas/coffeescript/issues
如果您想聊天,请访问 Freenode IRC 上的 #coffeescript。
源代码仓库: https://github.com/jashkenas/coffeescript.git
变更日志: https://coffeescript.node.org.cn/#changelog
我们的贡献者在这里列举: http://github.com/jashkenas/coffeescript/contributors