Simple Moe configuration file syntax parser.
Generally, whitespace and comments are alowed everywhere except in variable names and inside expressions,
-``\\n`` ends a ``COMMENT``.
+``\n`` ends a ``COMMENT``.
``FILE``, ``BLOCK``, ``STATEMENT``, ``OPERATION``, ``SUBTREE``, ``CONDITION``, ``FORMULA``, ``AND``, ``OR``
and ``NOT`` ignore any preceding whitespace.
ECHAR = re('([^\{}]|\\|\{|\}|\\n)*')
VARNAME = re('[a-zA-Z0-9-_]+(\.[a-zA-Z0-9-_]+)*')
-.. todo:: should whitespace (incl. '\n') be allowed (almost) everywhere?
+.. todo:: should whitespace (incl. '\\n') be allowed (almost) everywhere?
can comment be anywhere whitespace can?
.. note:: ';' or '\\n' is currently required even after CONDITION and SUBTREE block
.. note:: Formula can contain additional/unnecessary parentheses