yapplabs / ember-cli-nearley-compiler

ember-cli addon for compiling nearley grammars into JS grammars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-cli-nearley-compiler

An ember-cli addon for compiling nearley grammars from nearley grammar file.

Installation

npm install --save-dev ember-cli-nearley-compiler

Usage

By default this addon will generate a Javascript grammar for every file with the ne extension, the generated grammar extension is js and will be located in the same folder as the grammar file.

The grammer is exported as an ES6 module and can imported as any other JS file.

About

ember-cli addon for compiling nearley grammars into JS grammars

License:MIT License


Languages

Language:JavaScript 100.0%