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

eduardostuart/canopy-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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