0.0.0-checkpoint • Published 8 years ago

epeg.js v0.0.0-checkpoint

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Build status npm version dependencies devDependencies License

about ePEG.js

ePEG.js (Extended PEG.js) is an extension of PEG.js made for Node.js 4 and above.

It adds a number of syntax extensions and compiler passes that enable the following features:

  • [TODO] Include statements (@include ...) for local grammar files
  • [TODO] Import statements (@import ...) for Node.js modules that contain grammar files
  • [TODO] Template rules (rule<T> = ... b:T ...) to avoid repeated PEG.js grammar
  • [TODO] Optional ECMAScript 2015+ transformers (Babel 6 or Buble) for .pegjs files
  • [TODO] Optional CoffeeScript transformer for .pegcoffee files
  • [TODO] Optional AST generator for rules with titled sequence's but no code blocks

install

to use as a command line tool
npm install -g epeg.js
to use as a node.js module
npm install --save-dev epeg.js

license

Released under the MIT License, http://opensource.org/licenses/MIT.

PEG.js is developed by David Majda (@dmajda).

ePEG.js is developed by Futago-za Ryuu.