Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 518 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 518 Bytes

Canopy PEG loader

Canopy is a PEG parser compiler. It lets you describe the grammar of the language you’re trying to parse using a simple, terse syntax, and it generates a parser for the language from this definition.

Usage

module.exports = {
  module: {
    rules: [
      {
        test: /\.peg$/,
        loader: 'canopy-loader'
      }
    ]
  }
}

License

MIT