parcel-plugin-nearley
v1.0.0
Published
Parcel plugin to support nearley grammars
Downloads
10
Readme
📦🚀parcel-plugin-nearley
A parcel plugin that enables nearley grammar support
Usage
Install the plugin:
npm install parcel-plugin-nearley
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:
- https://parceljs.org/asset_types.html
- https://nearley.js.org/docs/using-in-frontend
- https://github.com/kozily/nearley-loader
- https://github.com/albinotonnina/parcel-plugin-inlinesvg