Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ohm-cli

robertothais20MIT1.0.2

A CLI for the Ohm parser generator

cli, ohm, parser generator

readme

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