@gramin/cli
v0.2.0
Published
Analyze parser grammar files as deterministic structural features
Maintainers
Readme
gramin
Command-line grammar analysis for POSIX Yacc, Bison, Lrama, BNF, EBNF, ANTLR4, Menhir, Peggy, and PEG.js files.
Usage
Run without installing:
npx @gramin/cli analyze grammar.y --format mdOr install the command globally:
npm install --global @gramin/cli
gramin analyze grammar.y --format jsonBuild canonical LR(0) states and report SLR conflicts only when needed:
gramin analyze grammar.y --analysis lrUse gramin --help to list commands and options. See the
project README for examples, supported syntax,
exit codes, and the external frontend protocol.
License
MIT
