Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A CoffeeScript compiler in pure Ruby
Ruby
tree: 2f39008a80

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE
README.md
Rakefile
coffee-script-pure.gemspec
coffee-script.LICENSE

README.md

coffee-script-pure

coffee-script-pure is a CoffeeScript compiler running in pure Ruby. It adopts the same protocol as ruby-coffee-script:

require "coffee-script-pure"
CoffeeScript.compile "console.log 'hello world'", bare: true
  # => "\nconsole.log('hello world');\n"

coffee-script-pure uses Twostroke - a Javascript interpreter written in Ruby. A compiled and deflated copy of the CoffeeScript compiler is bundled with coffee-script-pure. The Twostroke VM and CoffeeScript environment is initialized the first time you compile script.

Installation

gem install coffee-script-pure
Something went wrong with that request. Please try again.