Parcel plugin to support nearley grammars
npm install parcel-plugin-nearleyA parcel plugin that enables nearley grammar support
1. Install the plugin:
``bash`
npm install parcel-plugin-nearley
2. Now you can import *.ne files from javascript:
`js`
import grammar from './grammar.ne';
Testing:
`bash`
npm run test
Formatting with prettier:
`bash``
npm run format
MIT License
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