Skip to content

Grammars suitable for lark parser and Hypothesis

License

Notifications You must be signed in to change notification settings

ligurio/lark-grammars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: