Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 68 lines (62 sloc) 3.014 kb
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
1 { "name" : "canopy"
2 , "description" : "PEG parser compiler for JavaScript"
caba737 @jcoglan Change website URL in package.json.
authored
3 , "homepage" : "http://canopy.jcoglan.com"
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
4 , "author" : "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)"
5 , "keywords" : ["parser", "compiler", "peg"]
5c95187 @jcoglan Use the shorthand 'license' field in package.json.
authored
6 , "license" : "MIT"
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
7
8 , "version" : "0.2.0"
9 , "engines" : {"node": ">=0.4.0"}
94195c4 @jcoglan Make the project layout a bit more sensible.
authored
10 , "main" : "./lib/canopy.js"
11 , "bin" : {"canopy": "./bin/canopy"}
125d7a0 @jcoglan Tweaks to npm metadata.
authored
12 , "preferGlobal" : true
0bb20ca @jcoglan Change the Builder API so that builders can generate multiple files.
authored
13 , "dependencies" : {"mkdirp": "", "nopt": ""}
2b5e64f @jcoglan Update the example parsers.
authored
14 , "devDependencies" : {"benchmark": "", "jstest": "", "pegjs": "", "wake": ""}
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
15
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
16 , "scripts" : { "build" : "wake"
8e1dbd5 @jcoglan The examples should go in the npm package, but cleaned of .class and …
authored
17 , "clean" : "find examples -name '*.class' -o -name '*.pyc' -exec rm {} \\;"
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
18 , "compile" : "./bin/canopy source/canopy/meta_grammar.peg"
fc0f664 @jcoglan Introduce a Java backend. Custom node factories not yet implemented.
authored
19 , "java" : "find examples/canopy -name '*.peg' -exec ./bin/canopy --lang java {} \\;"
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
20 , "js" : "find examples/canopy -name '*.peg' -exec ./bin/canopy --lang js {} \\;"
4cc7ea8 @jcoglan Add a Python generator backend.
authored
21 , "python" : "find examples/canopy -name '*.peg' -exec ./bin/canopy --lang py {} \\;"
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
22 , "ruby" : "find examples/canopy -name '*.peg' -exec ./bin/canopy --lang rb {} \\;"
23 , "pegjs" : "find examples/pegjs -name '*.peg' -exec pegjs --cache {} \\;"
24 , "test" : "node spec/console.js"}
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
25
26 , "bugs" : {"url": "http://github.com/jcoglan/canopy/issues"}
27
caba737 @jcoglan Change website URL in package.json.
authored
28 , "repository" : { "type" : "git"
29 , "url" : "git://github.com/jcoglan/canopy.git"
125d7a0 @jcoglan Tweaks to npm metadata.
authored
30 }
ac98f96 @jcoglan Bring a bunch of build/organization stuff up to date.
authored
31
eb5f092 @jcoglan Moderise the build: replace jake with wake, replace jsclass with jstest.
authored
32 , "wake": {
33 "javascript": {
34 "sourceDirectory": "source",
35 "targetDirectory": "lib",
36 "builds": {
37 "src": {"digest": false, "minify": false},
38 "min": {"digest": false, "minify": true, "tag": "suffix", "sourceMap": "src"}
39 },
40 "targets": {
41 "canopy": [ "canopy.js",
42 "canopy/meta_grammar",
fc0f664 @jcoglan Introduce a Java backend. Custom node factories not yet implemented.
authored
43 "canopy/builders/java",
f85421f @jcoglan Rename Builder to Builders.JavaScript.
authored
44 "canopy/builders/javascript",
4cc7ea8 @jcoglan Add a Python generator backend.
authored
45 "canopy/builders/python",
c8354ff @jcoglan Add a Ruby code generator, with comparisons to Citrus and Treetop.
authored
46 "canopy/builders/ruby",
eb5f092 @jcoglan Moderise the build: replace jake with wake, replace jsclass with jstest.
authored
47 "canopy/compiler.js",
48 "canopy/compiler/grammar",
49 "canopy/compiler/grammar_rule",
50 "canopy/compiler/choice",
51 "canopy/compiler/choice_part",
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
52 "canopy/compiler/action",
eb5f092 @jcoglan Moderise the build: replace jake with wake, replace jsclass with jstest.
authored
53 "canopy/compiler/any_char",
54 "canopy/compiler/char_class",
55 "canopy/compiler/string",
56 "canopy/compiler/ci_string",
57 "canopy/compiler/predicate",
89be36c @jcoglan Add an annotation for semantic actions, that replace the default synt…
authored
58 "canopy/compiler/maybe",
eb5f092 @jcoglan Moderise the build: replace jake with wake, replace jsclass with jstest.
authored
59 "canopy/compiler/repeat",
60 "canopy/compiler/sequence",
61 "canopy/compiler/sequence_part",
62 "canopy/compiler/reference",
63 "bindings" ]
64 }
65 }
66 }
67 }
Something went wrong with that request. Please try again.