Skip to main content

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/.

Metadata

Release files for parstools 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parstools 0.0.5
File Size Uploaded
parstools-0.0.5.tar.gz 67.5 kB Details

Release files / parstools-0.0.5.tar.gz

Download URL parstools-0.0.5.tar.gz
Size 67.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f3016d109e45a6d252b46ce3619aabc3a065c28fc5a2b7b278b527cb698074a5
BLAKE2b-256 checksum
How to use checksums
ee06a2b38e0e3806ad31e01c232b43c9012e7cfb32839f8e0e2a94dfe0828dbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2+

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page