ohm-cli

A CLI for the Ohm parser generator

Usage no npm install needed!

<script type="module">
  import ohmCli from 'https://cdn.skypack.dev/ohm-cli';
</script>

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