A bridge to the JS CoffeeScript compiler
Project description
Python-CoffeeScript is a bridge to the JS CoffeeScript compiler.
A short example
>>> import coffeescript
>>> coffeescript.compile('add = (a, b) -> a + b')
'(function() {\n var add;\n\n add = function(a, b) {\n return a + b;\n };\
n\n}).call(this);\n'
>>> print(coffeescript.compile('add = (a, b) -> a + b'))
(function() {
var add;
add = function(a, b) {
return a + b;
};
}).call(this);
Installation
$ pip install CoffeeScript
or
$ easy_install CoffeeScript
coffee-script.js
The latest version of coffee-script.js (the script for browser <script type=”text/coffeescript”> tags) can be download from http://jashkenas.github.com/coffee-script/
License
Copyright (c) 2012 OMOTO Kenji. Released under the MIT license. See LICENSE for details.
You can download current version of coffee-script.js from http://jashkenas.github.com/coffee-script/extras/coffee-script.js
Changes
- 1.0.3
Updated coffee-script.js to v1.3.3.
- 1.0.2
Updated coffee-script.js to v1.3.1.
- 1.0.1
Fixed some small problem in setup.py.
- 1.0.0
First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file CoffeeScript-1.0.3.zip.
File metadata
- Download URL: CoffeeScript-1.0.3.zip
- Upload date:
- Size: 48.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9651b28783fc24ade21e121c50e4e6d2a41e5d874adf16f1c419a352b273838
|
|
| MD5 |
151011226dd3ac41a3509cbb59dd319a
|
|
| BLAKE2b-256 |
f56fe9c54f0c8869d3f8919f2c97ed1ec522be109336771728ae07ec90bb07bf
|
File details
Details for the file CoffeeScript-1.0.3.tar.gz.
File metadata
- Download URL: CoffeeScript-1.0.3.tar.gz
- Upload date:
- Size: 45.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd2365f65a0cbbb9463d742a32e430d3b053481eaa3031855f97aa8298eb9e6a
|
|
| MD5 |
20d8da75b257c2701ff59cd4d03b676b
|
|
| BLAKE2b-256 |
eab87303519f55441a6c53fc00878464d76b24a1b79565ab255597e39bf134f4
|
File details
Details for the file CoffeeScript-1.0.3-py3.2.egg.
File metadata
- Download URL: CoffeeScript-1.0.3-py3.2.egg
- Upload date:
- Size: 46.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfc769bb270f6517784e968e7af85be68bb3c86d28c9525e86d9feceff2231a
|
|
| MD5 |
115aa11550e377a2c6b01951ef0ef34e
|
|
| BLAKE2b-256 |
481b7b3e5a0087388a7b00e6ee7a31681e5864398e58ffb1c46fc0717d9aaa3b
|
File details
Details for the file CoffeeScript-1.0.3-py2.7.egg.
File metadata
- Download URL: CoffeeScript-1.0.3-py2.7.egg
- Upload date:
- Size: 46.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5b2a26d17fe431e97abdba358f55fdac55400a184de395aaa2e1b73389f1f9
|
|
| MD5 |
e4106bbd10199316d3f7f94f2e9460bd
|
|
| BLAKE2b-256 |
f5f9aa7ee3baa69d627dbf0b1ca175cd38c0eba3cd0203696e19f52ed20c5010
|