A bridge to the JS CoffeeScript compiler
Project description
CoffeeScript
============
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) 2011 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
============
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) 2011 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
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
CoffeeScript-1.0.1.zip
(46.2 kB
view details)
CoffeeScript-1.0.1.tar.bz2
(36.2 kB
view details)
Built Distribution
CoffeeScript-1.0.1-py3.2.egg
(43.9 kB
view details)
File details
Details for the file CoffeeScript-1.0.1.zip
.
File metadata
- Download URL: CoffeeScript-1.0.1.zip
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a818ebb1400f66fc3260d4ddbdc5c9e1677f37f4bf567f73f19a63a5f84c867 |
|
MD5 | 111b673421c3729b44b4170c4ff2233f |
|
BLAKE2b-256 | ace9d225bc2daa95208a31e86a0c60bb447fb444deecaecdf53b9a72f9838718 |
File details
Details for the file CoffeeScript-1.0.1.tar.bz2
.
File metadata
- Download URL: CoffeeScript-1.0.1.tar.bz2
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f80803ac3523a0a78069bb7ea6d9374f85c7365338761c89f8836b00460d6ed6 |
|
MD5 | a7cfe82c650786bad4635a0e47137cf0 |
|
BLAKE2b-256 | 37deb02f3c659184b0c55d6419a602eeb6d45bcdcad351f702e4acdc4711b1e8 |
File details
Details for the file CoffeeScript-1.0.1-py3.2.egg
.
File metadata
- Download URL: CoffeeScript-1.0.1-py3.2.egg
- Upload date:
- Size: 43.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c096fa1f31901b5cdab7098b0bbdd846e7b4edd4b653d26458f3d3151ae33fec |
|
MD5 | e2b1fca4d5ece3950006bc5a268d95af |
|
BLAKE2b-256 | 3e3a09979917fa7718d1500f8f12e36b89c48ce7461b9c0e892270c5d9919b7c |