Awesome
jison-helpers-lib [OBSOLETED]
Helper functions shared among the jison repositories (jison, ebnf-parser, lex-parser, jison-lex)
deprecation notice
From today (2017/oct/15) the jison-helpers-lib repository is obsoleted for the
jison-helpers-lib
package/codebase: the primary source is the jison monorepo'spackages/helpers-lib/
directory. See also https://github.com/GerHobbelt/jison/issues/16.(For a comparable argument, see also "Why is Babel a monorepo?")
Issues, pull requests, etc. for
jison-helpers-lib
should be filed there; hence we do not accept issue reports in this secondary repository any more.This repository will track the primary source for a while still, but be very aware that this particular repository will always be lagging behind!
install
npm install @gerhobbelt/jison-helpers-lib
build
To build the library yourself, follow the install & build directions of the monorepo.
Note about ES6/rollup usage vs. ES5
All
dist/
library files are 'self-contained': they include all 'local imports' from within this jison monorepo in order to deliver a choice of source files for your perusal where you only need to worry about importing external dependencies (such asrecast
).As such, these
dist/
files should be easier to minify and/or use in older (ES5) environments.rollup
Iff you use
rollup
or similar tools in an ES6/ES2015/ES2017 setting, then thepackage.json::module
has already been set up for you to use the original sources instead!
usage
var helpers = require('jison-helpers-lib');
...
license
MIT
related repositories
- jison / jison-gho @ NPM
- jison-lex @ NPM
- lex-parser @ NPM
- ebnf-parser @ NPM
- jison2json @ NPM
- json2jison @ NPM
- jison-helpers-lib @ NPM
-
secondary source repositories