Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 368 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 368 Bytes

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.