jison grammars come in two formats: JSON or a special text format similar to Bison's. This utility converts from the JSON format to jison's text format. See the jison2json utility for the reverse conversion.
npm install @gerhobbelt/json2jison -g
Follow the install & build directions of the monorepo.
You can also only build this particular subpackage by
cd-ing into this directory
and then invoking the local make:
cd packages/json2jison make
This will generate the rollup/babel-postprocessed ES6 and ES5
compatible libraries in the local