Skip to main content

prototype of a sytaxparser

Project description

Basic objects for the specific implementation of a syntax parser.

Object categories

[.*]Token

(Parsing result) single token

[.*]Branch

(Parsing result) container for tokens

Root[.*]

objects for the top level (not intended for modification)

Phrase

configuration object whose behavior is to be implemented by modifying the class.

The main behavior is implemented by the more detailed definition of the start and end methods. Additional predetermined interfaces are also declared in the corresponding docstrings.

Nesting, branches, and suffixes are defined by passing additional phrase derivatives to a instace.

Parsing

The top-level object RootPhrase provides the entry points for the parsing process. The result will be a RootBranch.

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

syntax_parser_prototype-1.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

syntax_parser_prototype-1.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file syntax_parser_prototype-1.1.0.tar.gz.

File metadata

  • Download URL: syntax_parser_prototype-1.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for syntax_parser_prototype-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fb3350c4384e4d6ce2bff6e71d7ce1dcb36b0ff3942e2ae97cce19175660d293
MD5 0c515fa282125be19132d9f0d211746f
BLAKE2b-256 3fe441fccb1021b9d04d9c99e1ffe6fa4f117d2934302f4385e9b43bd36d4e44

See more details on using hashes here.

File details

Details for the file syntax_parser_prototype-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for syntax_parser_prototype-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 786964d8768bd79858b64d0820079ec0ad29429aac00b310d9b550fd452bf3ca
MD5 d93c029b897631847912084c213bd7f8
BLAKE2b-256 76d17feb100a518ea1b535d750c337507ed9cef17c58f58aa54ae8d7497b8764

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