Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Self-hosting PEG parser compiler for JavaScript

branch: master
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.