jest-transform-nearley
A jest transform that enables nearley grammar support
Usage
-
Install the transform:
npm install jest-transform-nearley -
Configure jest:
-
Now you can import *.ne files from javascript:
const grammar = ;
Development
Testing:
npm run test
Formatting with prettier:
npm run format
License
MIT License
Acknowledgements
Inspired by: