Canopy is a parser compiler for JavaScript, based on Parsing Expression Grammars and heavily influenced by Treetop.
For usage documentation see canopy.jcoglan.com.
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
See LICENSE.txt
.