GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jessedoyle/coffee-script: Crystal CoffeeScript Compiler http://coffeescript.org/

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
spec
spec
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
shard.yml
shard.yml
 
 

Repository files navigation

Crystal CoffeeScript

GitHub version Build Status

This shard is a Crystal bridge to the official CoffeeScript compiler.

require "coffee-script"

CoffeeScript.compile(File.read("script.coffee")) # => compiled code

The code in this library is a direct port of Ruby's coffee-script gem.

Installation

Add this to your project's shard.yml:

dependencies:
  coffee-script:
    github: jessedoyle/coffee-script
    version: ~> 1.0

then execute shards install.

Configuration

You can use an alternate CoffeeScript compiler version by setting the COFFEESCRIPT_SOURCE_PATH environment variable:

export COFFEESCRIPT_SOURCE_PATH=/my/custom/path/coffee-script.js

The compile method also accepts additional arguments that may be passed to the runtime:

src = File.read("script.coffee")

CoffeeScript.compile(src, { bare: true }) # => compiled code

Dependencies

This library depends on the coffee-script-source shard, please see the releases page for compiler versions.

This library uses duktape.cr as the javascript runtime.

License

Distributed under the MIT License. See LICENSE for details.

About

Crystal CoffeeScript Compiler http://coffeescript.org/

Resources

Readme
MIT license
Activity

Stars

17 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.