/lark-grammars

Grammars suitable for lark parser and Hypothesis

Primary LanguagePythonISC LicenseISC

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: