lark-grammars

Lark grammars for using wht Hypothesis testing library


Keywords
grammar-fuzzer, grammars, hypothesis, hypothesis-testing, hypothesis-tests, lark, lark-grammars, property-based-testing, quality-assurance, testing
License
ISC
Install
pip install lark-grammars==0.3.0

Documentation

lark grammars

PyPI version

Grammars suitable for lark parser:

How-To Use:

$ python -m venv venv
$ python -m pytest tests/test_grammars.py
$ pip install lark_grammars
$ cat example.py
from lark_grammars import grammars                     
grammars.grammar_files['bc'] 

$ python generate.py --grammar grammars/tap13.lark
TAP version 13
1..861602252
not ok # Skipped

# - C o A 2 1 H

See grammars for other parsers: