Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A parser compiler for Java, JavaScript, Python, Ruby
JavaScript Java Python Ruby CSS HTML
Tag: 0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
examples
site
source
spec
.gitignore
.npmignore
Jakefile
LICENSE.txt
README.markdown
jake.yml
package.json

README.markdown

Canopy

Canopy is a parser compiler for JavaScript, based on Parsing Expression Grammars and heavily influenced by Treetop.

For usage documentation see canopy.jcoglan.com.

Building and testing Canopy

git clone git://github.com/jcoglan/canopy.git
cd canopy
gem install jake
npm install
jake
npm test

Canopy should work on a wide range of JavaScript runtimes, for example:

v8 spec/console.js
rhino spec/console.js

It should also run in all major web browsers:

open spec/browser.html

License

See LICENSE.txt.

Something went wrong with that request. Please try again.