Browse Source

Expose ast classes used by parser

master
Futago-za Ryuu 4 years ago
parent
commit
b0a5db1ab9
  1. 2
      gulpfile.js
  2. 3412
      lib/parser/grammar.js
  3. 3413
      lib/parser/index.js
  4. 0
      src/grammar.pegjs

2
gulpfile.js

@ -66,7 +66,7 @@ task( "benchmark", cb => {
// Generate the grammar parser.
task( "build:parser", cb => {
node( "bin/peg src/parser.pegjs -o lib/parser/index.js -c src/pegjs.config.js", cb );
node( "bin/peg src/grammar.pegjs -o lib/parser/grammar.js -c src/pegjs.config.js", cb );
} );

3412
lib/parser/grammar.js
File diff suppressed because it is too large
View File

3413
lib/parser/index.js
File diff suppressed because it is too large
View File

0
src/parser.pegjs → src/grammar.pegjs

Loading…
Cancel
Save