Skip to content

yasinkocak/gulp-jison-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-jison-parser

Jison plugin for gulp (gulpjs.com)

Usage

var jison = require('gulp-jison-parser');

gulp.task('jison', function() {
    return gulp.src('./src/*.jison')
        .pipe(jison({ moduleType: 'commonjs' }))
        .pipe(gulp.dest('./src/'));
});

With a seperate lexical grammar file

var jison = require('gulp-jison-parser');

gulp.task('jison', function() {
    return gulp.src('./src/*.jison')
        .pipe(jison({ lexFile: 'lex.jisonlex' }))
        .pipe(gulp.dest('./src/'));
});

About

Gulp plugin for jison parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published