Skip to main content

A library with Symbol Graph and Grammar classes

Project description

Parse Grammar

A library containing Directed Graph representing symbol to symbol translation with a Grammar class representing a start symbol and any terminal symbols.

Used for representing finite state machines in automation bots.

Usage

import grammar as gram

pGraph = gram.Graph()

pGrammar = gram.Grammar(<start_symbol>, <end_symbol>, pGraph)

where <start_symbol> is a vertex within pGraph where <end_symbol> is a vertex, or list/set of verticies, within pGraph

The <start_symbol> can not be an isolated vertex.

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

parsegrammar-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parsegrammar-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file parsegrammar-0.1.0.tar.gz.

File metadata

  • Download URL: parsegrammar-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.3

File hashes

Hashes for parsegrammar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44bb43e68022fefc77fcf27913eb15add2346dd38194aa4c414c3a6dcfbf06fa
MD5 6630950691071ffe13976050610461ba
BLAKE2b-256 01b0f1732521d63ede6642533c6dd882b00bba3f5c25f123ca45bd44d21bc524

See more details on using hashes here.

File details

Details for the file parsegrammar-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: parsegrammar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.3

File hashes

Hashes for parsegrammar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3e99ac832891348dc96bd6e838eade73c7f022761d7aebd2a24cfc1b1dbd63
MD5 699928dee0f49747f53c2f7446418730
BLAKE2b-256 eafc073ef3fe4a9280c291aacff2251b99a54ed1c00ae4c82f1458d5d7182f5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page