Permalink
Browse files

Update the readme.

  • Loading branch information...
1 parent 3704e46 commit bc3ed31a9590be504ed3044337347134f623742e @jcoglan committed Apr 29, 2012
Showing with 10 additions and 12 deletions.
  1. +10 −12 README.markdown
View
@@ -8,17 +8,15 @@ Grammars][1] and heavily influenced by [Treetop][2].
[2]: http://treetop.rubyforge.org/
-Download
---------
-
-Canopy and the parsers it generates require [JS.Class][3] -- we're building
-on top of this in order to support the composition and node typing features
-of Treetop, to which Ruby's object system lends itself very well.
-
-You can grap a stable build of Canopy from `bin/canopy-stable.js`; this
-build is used to compile Canopy itself during development.
+Build
+-----
-[3]: http://jsclass.jcoglan.com/
+ git clone git://github.com/jcoglan/canopy.git
+ cd canopy
+ gem install jake
+ npm install
+ jake
+ npm test
Usage
@@ -46,11 +44,11 @@ For example:
`Canopy.compile()` both evaluates and returns the source code for the
parser it has generated, so you can take that source and save it in a
-file for later use. The `bin` directory contains a Rhino script that
+file for later use. The `bin` directory contains a Node script that
generates parser files from grammar files, for example to compile
Canopy's own grammar parser, I do this:
- rhino bin/compile.js source/canopy/meta_grammar.peg
+ node bin/canopy source/canopy/meta_grammar.peg
Grammar definitions

0 comments on commit bc3ed31

Please sign in to comment.