cana.io.aeon module
AEON *.aeon (regulations + $var: expr) import and export.
- cana.io.aeon.parse_aeon_update_rule(line)[source]
Parse one
$var: named_expressionline, orNoneif not an update.Regulation edge lines are ignored here (handled only in full-file parse).
- Parameters:
line (str)
- Return type:
Tuple[str, str] | None
- cana.io.aeon.parse_aeon(text)[source]
Parse AEON
*.aeoninto a node list.- Parameters:
text (str)
- Return type:
List[BooleanNode]
- cana.io.aeon.nodes_to_aeon(nodes, *, warn=True)[source]
Export a node list to AEON text (regulations + update functions).
Prefers stored expression, then one-symbol schemata, then LUT DNF. Soft-warns when verification flags are not
True(never blocks).- Parameters:
nodes (Sequence[BooleanNode])
warn (bool)
- Return type:
str