Giter Club home page Giter Club logo

chuckjs's Introduction

ChucKJS

JavaScript (CoffeeScript) parser for the ChucK music programming language, for execution within browsers supporting the Web Audio API (e.g. Chrome, Firefox).

Build Status

This project is merely in its infancy at this stage, so don't expect too much at this point. For example, error checking is non-existent. We're basically at the point of having implemented a minimal part of the language, just enough to be able to execute the official examples we have ported so far.

To see (or perhaps more importantly, hear) ChucKJS in practice, please visit our ChucK Demos site, which aggregates and lets you play back language demos.

Current Status as of 9.13.2014

Focus has shifted to an attempt to automatically port ChucK to JavaScript, using the Emscripten tool. See my ChucK fork if you'd like to follow its progress, or perhaps even contribute.

Build

In order to build ChucKJS, you'll need an installation of Node along with NPM. If you haven't already installed Grunt, install it system-wide:

npm install -g grunt-cli

Then, within the ChucKJS project root, install its dependencies (beneath the project root) via NPM:

npm install

After doing this, you should be able to build ChucKJS, by running grunt:

grunt

At this point, the parser has been built as lib/chuck/parser.js. CoffeeScript source files (in src/) are also compiled to JavaScript beneath lib/. Additionally, ChucKJS and its dependencies are built into the file examples/js/chuck.js, for the benefit of the examples within the examples/ directory. At this stage, you should be able to try the examples, e.g. examples/example1.html.

Test

There are self-contained example HTML files beneath the examples/ directory, which you are encouraged to try out. In addition to these, ChucKJS is automatically tested via Karma. Run these tests as follows:

karma start

Donating

Support this project and others by Arve Knudsen on Gittip.

Support via Gittip

chuckjs's People

Contributors

aknuds1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.