cli.js - JS bottom-up parsers generator
jison [file] [lexfile] [options]
file file containing a grammar lexfile file containing a lexical
grammar
- -j, --json
- force jison to expect a grammar in JSON format
- -o FILE, --outfile
FILE
- Filename and base module name of the generated parser
- -t, --debug
- Debug mode [false]
- -m TYPE, --module-type
TYPE
- The type of module to generate (commonjs, amd, js) [commonjs]
- -p TYPE, --parser-type
TYPE
- The type of algorithm to use for the parser (lr0, slr,lalr, lr)
[lalr]
- -V, --version
- print version and exit