Metadata-Version: 2.2
Name: syntax-parser-prototype
Version: 1.1.0
Summary: prototype of a sytaxparser
Author-email: "Adrian F. Hoefflin" <srccircumflex@outlook.com>
License: MIT License
Project-URL: Homepage, https://github.com/srccircumflex/syntax-parser-prototype
Keywords: syntax,parser,prototype,compiler,framework
Classifier: Topic :: Text Processing
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Interpreters
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development
Classifier: Programming Language :: Python
Description-Content-Type: text/x-rst
License-File: LICENSE
Provides-Extra: visualisation
Requires-Dist: dash; extra == "visualisation"
Requires-Dist: dash-cytoscape; extra == "visualisation"
Requires-Dist: dash-dangerously-set-inner-html; extra == "visualisation"

syntax-parser-prototype
#######################

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