docs/architecture/index.rst
Architecture
============
Internally program code is stored as special django models such as
``NumberConstant`` (see :ref:`Constants`) , ``IfStatement``, ``Assignment`` and so forth. Structure of
syntax tree is held by class :ref:`Node` derived from `treebeard.NS_Node <https://django-treebeard.readthedocs.io/en/latest/ns_tree.html#treebeard.ns_tree.NS_Node>`_.
Operators and operands are linked with ``Node`` objects through
`django contenttypes system <https://docs.djangoproject.com/en/2.1/ref/contrib/contenttypes/>`_.
Other details are briefly described in
:ref:`administrative_setup` and
:ref:`invocation_injecting` sections
.. toctree::
:maxdepth: 2
:caption: Detailed:
program.rst
node.rst
operators.rst
operands.rst
statements.rst
environment.rst
context.rst
functions.rst
logging.rst
signals.rst
exceptions.rst