Skip to main content

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.4

Updated coffee-script.js to v1.4.0.

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


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.4.zip (48.5 kB view details)

Uploaded Source

CoffeeScript-1.0.4.tar.gz (45.3 kB view details)

Uploaded Source

Built Distributions

CoffeeScript-1.0.4-py3.3.egg (46.1 kB view details)

Uploaded Source

CoffeeScript-1.0.4-py2.7.egg (46.0 kB view details)

Uploaded Source

File details

Details for the file CoffeeScript-1.0.4.zip.

File metadata

  • Download URL: CoffeeScript-1.0.4.zip
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CoffeeScript-1.0.4.zip
Algorithm Hash digest
SHA256 e8dfaa942bb546230e04324509d5017ef156d1e82ea8367aa25d6e782b830e11
MD5 89b861fa28a8b46bc4dee6555c1439b6
BLAKE2b-256 a3e431f2fca8728e39530f75c4dccc31bb5a1c183332c350b304ed898495c581

See more details on using hashes here.

File details

Details for the file CoffeeScript-1.0.4.tar.gz.

File metadata

File hashes

Hashes for CoffeeScript-1.0.4.tar.gz
Algorithm Hash digest
SHA256 1996a9167660f934468f2a8f7162513f73933fb399a71180cc11fc9145078732
MD5 e9c514a9f75120fca84fa5bce072b557
BLAKE2b-256 788efe55892710eeab3d12628e509b9e576d3dc83c23b54ecfa3b474f7c62a7b

See more details on using hashes here.

File details

Details for the file CoffeeScript-1.0.4-py3.3.egg.

File metadata

File hashes

Hashes for CoffeeScript-1.0.4-py3.3.egg
Algorithm Hash digest
SHA256 7b4a5458393c1b1a6e2fbfeea18848958c69281259bcbd2377f6c087d748eebf
MD5 2348b29a705ad9f9d16abff91be2fc6f
BLAKE2b-256 68e3d160e78ce6b6d6ab41b6ddc35c50d2f78e3036da953ac302039ae2d8c7d1

See more details on using hashes here.

File details

Details for the file CoffeeScript-1.0.4-py2.7.egg.

File metadata

File hashes

Hashes for CoffeeScript-1.0.4-py2.7.egg
Algorithm Hash digest
SHA256 1617babe472480bde1e9de997f344034278c913a4bc9536bb6049ce8682702f7
MD5 0fdb969cafcaebc0c76c10ecdb3cea9e
BLAKE2b-256 72e866f6893e547f64f2316d709f33ac81b1113bd5430c09200235b22064a28b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page