@ericcornelissen/grammar2arbitrary
v0.1.0
Published
Generate fast-check arbitraries from a grammar
Maintainers
Readme
grammar2arbitrary
Generate fast-check arbitraries from a grammar
Installation
npm install --save-dev @ericcornelissen/grammar2arbitraryUsage
Put a [grammar] to generate form in a file and invoke grammar2arbitrary
grammar2arbitrary --inFile grammar.ohm --outFile dist.js --base Bar --export fooFor more information
grammar2arbitrary --helpGrammars
The only supported grammer is Ohm, read more in our Ohm docs.
License
The source code is licensed under the Apache-2.0 license, see LICENSE for
the full license text.
