Home

Awesome

jison-helpers-lib [OBSOLETED]

Join the chat at https://gitter.im/jison-parsers-lexers/Lobby Build Status NPM version Dependency Status npm

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's packages/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 as recast).

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 the package.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