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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb3350c4384e4d6ce2bff6e71d7ce1dcb36b0ff3942e2ae97cce19175660d293
|
|
| MD5 |
0c515fa282125be19132d9f0d211746f
|
|
| BLAKE2b-256 |
3fe441fccb1021b9d04d9c99e1ffe6fa4f117d2934302f4385e9b43bd36d4e44
|
File details
Details for the file syntax_parser_prototype-1.1.0-py3-none-any.whl.
File metadata
- Download URL: syntax_parser_prototype-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
786964d8768bd79858b64d0820079ec0ad29429aac00b310d9b550fd452bf3ca
|
|
| MD5 |
d93c029b897631847912084c213bd7f8
|
|
| BLAKE2b-256 |
76d17feb100a518ea1b535d750c337507ed9cef17c58f58aa54ae8d7497b8764
|