yapplabs / broccoli-nearley

A broccoli plugin for compiling nearley grammars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broccoli-nearley Build Status

Broccoli plugin for compiling nearley grammars with a persistent cache for fast restarts.

Installation

yarn add broccoli-nearley

Usage

let Nearly = require('broccoli-nearley');
let outputNode = new Nearly(inputNode, {
  persist: false
});

Options

persist

Type: Boolean
Default: true

Enable\disable a persistent cache to improve build performance across restarts. Check out broccoli-persistent-filter for more details.

Running Tests

yarn install
yarn test

License

This project is distributed under the MIT license.

About

A broccoli plugin for compiling nearley grammars


Languages

Language:JavaScript 100.0%