Lark grammars for using wht Hypothesis testing library
Project description
Grammars suitable for lark parser:
mime.lark
: MIME Media Typespalindrome.lark
: palindrome is a word, number, or other sequence of characters which reads the same backward as forward, such asmadam
orracecar
or the number10801
.tap13.lark
: TAP13 - The Test Anything Protocol v13subunit_v1.lark
: SubUnit v1 - SubUnit v1 protocolbc.lark
: bc, an arbitrary precision calculator languagerobotstxt.lark
: robots.txtpf.lark
: OpenBSD packet filter configuration fileregex.lark
: POSIX Regular Expressionsrfc_822.lark
: RFC 822: Standard for ARPA Internet Text Messagesrfc_1738.lark
: RFC 1738: Uniform Resource Locators (URL) (WIP)rfc_2396.lark
: RFC 2396: Uniform Resource Identifiers (URI)rfc_2397.lark
: RFC 2397: The "data" URL schemerfc_5545.lark
: RFC 5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar)rfc_6531.lark
: RFC 6531: SMTP Extension for Internationalized Email (WIP)rfc_5321.lark
: RFC 5321: Simple Mail Transfer Protocol (WIP)toml.lark
: Tom's Obvious, Minimal Languageyaml.lark
: YAML: YAML Ain't Markup Languagerestructuredtext.lark
sqlite.lark
gedcom.lark
postal.lark
phone_number.lark
How-To Use:
$ python3 -m venv venv
$ pip3 install lark_grammars
$ cat example.py
from lark_grammars import grammars
grammars.grammar_files['bc']
$ python3 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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lark-grammars-0.3.0.tar.gz
(47.7 kB
view details)
Built Distribution
File details
Details for the file lark-grammars-0.3.0.tar.gz
.
File metadata
- Download URL: lark-grammars-0.3.0.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab89475a68048d513d9e49d8c50d99156c5e60c62e2c806a8c0f945979b39bc |
|
MD5 | f9083c9ff889ba07a2c3e6e821d9be19 |
|
BLAKE2b-256 | eacd368a0ed4723742640e20d4a1a28601983e9c76aecf536e7b0821f02283d1 |
File details
Details for the file lark_grammars-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: lark_grammars-0.3.0-py3-none-any.whl
- Upload date:
- Size: 53.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da5b2e4951f6f0c4ae172c661ec9c0f9eb3c773676c0c381e1b397d43d857208 |
|
MD5 | 23152004640e2531c5dd067efa15df6c |
|
BLAKE2b-256 | c6819f07dc97fb647d4b43b0710604db60998d66c26f400adc1ca0234446c9ba |