ligurio / lark-grammars

Grammars suitable for lark parser and Hypothesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Grammars suitable for lark parser and Hypothesis

License:ISC License


Languages

Language:Python 100.0%