Ohm language support for Visual Studio Code (VSCode). Currently provides syntax highlighting only. Rather strict, enforces each RuleBody
to be written on one line, starting with |
. However, this limitation provides for great formatting!
- Clone this repository
- Run
npm i
to install dependencies - Run
npm run vsce pack
to bundle extension in.vsix
format - Use
Extensions: Install from VSIX
command in your VSCode and point it to the newly bundled extension
samples/tact-grammar.ohm
is taken from tact-lang/tact under MIT licensesamples/ohm-grammar.ohm
with slight modifications is taken from ohmjs/ohm under MIT license