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
Made with at the Recurse Center