bmavity / canopy

Self-hosting PEG parser compiler for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Self-hosting PEG parser compiler for JavaScript

License:Other