Parcel plugin for importing nearley grammars
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
.gitignore
CHANGELOG.md
LICENSE
NearleyGrammarAsset.js
README.md
index.js
package-lock.json
package.json
prettier.config.js

README.md

📦🚀parcel-plugin-nearley

A parcel plugin that enables nearley grammar support

Usage

  1. Install the plugin:

    npm install parcel-plugin-nearley
  2. Now you can import *.ne files from javascript:

    import grammar from './grammar.ne';

Development

Testing:

npm run test

Formatting with prettier:

npm run format

License

MIT License

Acknowledgements

Inspired by: