ohm-cli

1.0.2 • Public • Published

ohm-cli

CircleCI NPM

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 RC logo at the Recurse Center

Package Sidebar

Install

npm i ohm-cli

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.26 kB

Total Files

5

Last publish

Collaborators

  • robertothais