ohm-cli
v1.0.2
Published
A CLI for the Ohm parser generator
Downloads
12
Readme
ohm-cli
A CLI for the Ohm parser generator
Install
$ npm -g install ohm-cli
Usage
Check if an Ohm grammar file is valid:
$ ohm check grammar.ohm
Parse an input file according to an Ohm grammar:
$ ohm parse grammar.ohm input
See the text trace for a parse:
$ ohm parse grammar.ohm input --trace
License
MIT © Roberto Thais