jison(1)

JS bottom-up parsers generator

Section 1 jison bookworm source

Description

CLI.JS

NAME

cli.js - JS bottom-up parsers generator

SYNOPSIS

jison [file] [lexfile] [options]

DESCRIPTION

file file containing a grammar lexfile file containing a lexical grammar

OPTIONS

-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