Parsing algorithms
Project description
parstools is a package for writing parsers.
Currently, it includes:
- LR(1) parser generation
- LR(1) with state-merging
- grammar definition via
p_...methods - lexer definition via
t_...methods - stateful lexing
- regular language matching using nondeterministic automata
- conversions between regular grammars, regexes, NFA
- representing grammars, productions
- plotting LR state-machines
- printing of LR tables
- printing trees
The documentation is in the file doc.md.
Examples are in the directory examples/.
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
parstools-0.0.5.tar.gz
(67.5 kB
view details)
File details
Details for the file parstools-0.0.5.tar.gz.
File metadata
- Download URL: parstools-0.0.5.tar.gz
- Upload date:
- Size: 67.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3016d109e45a6d252b46ce3619aabc3a065c28fc5a2b7b278b527cb698074a5
|
|
| MD5 |
d3a79bca2c0cf3e7be12d9441b2c7de7
|
|
| BLAKE2b-256 |
ee06a2b38e0e3806ad31e01c232b43c9012e7cfb32839f8e0e2a94dfe0828dbc
|