Gulp plugin for compiling parsers written with the nearley parser library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

gulp-nearley

Gulp plugin for compiling parsers written with the nearley parser library

Usage

const nearley = require('gulp-nearley');

gulp.task('nearley', () =>
  gulp.src('src/**/*.ne')
      .pipe(nearley())
      .pipe(gulp.dest('lib')));

Any files with a .ne file extension will have their extension changed to .js in the output directory.