gulp-pegjs
This gulp plugin will generate a parser based on a pegjs grammar for its input files.
Install
npm install --save-dev gulp-pegjs
Usage
To generate the PEG.js parser you simply need to add these lines to your gulpfile.
var gulp = ;var pegjs = ; gulp;
You can tweak the generated parser by passing an argument to the function call. The options are described in the PEG.js documentation.
var gulp = ;var pegjs = ; gulp;