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/
# GitHub
https://github.com/doloopwhile/Python-CoffeeScript
# License
Copyright (c) 2011 Omoto Kenji.
Released under the MIT license. See `LICENSE` for details.
============
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/
# GitHub
https://github.com/doloopwhile/Python-CoffeeScript
# License
Copyright (c) 2011 Omoto Kenji.
Released under the MIT license. See `LICENSE` for details.
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 Distribution
CoffeeScript-1.0.0.zip
(44.0 kB
view details)
File details
Details for the file CoffeeScript-1.0.0.zip
.
File metadata
- Download URL: CoffeeScript-1.0.0.zip
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a299470ce38e24cfba3e242c64a9956655af0947a86542114b1af09f7e6f92ce |
|
MD5 | fcae655ffc477c654020de1e0e4cfd66 |
|
BLAKE2b-256 | 9f0aa977fdb9ab39f6d13d592e56e88c3ead003de393055dff796abf477cb4b6 |