Small little context-free expression generator and parser using user provided EBNF-like source.
Project description
NanGram
Negative Nancy's expression generator & parser! XD
Write grammars, generate random expressions, parse expressions.
Installation
pip install nangram
Usage
TODO:
See examples/english.bnf
and examples/english.py
for an example.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nangram-0.0.1.tar.gz
(6.3 kB
view hashes)