Skip to main content

Module symbolic

Module symbolic 

Source
Expand description

Symbolic-expression tree lens.

A symbolic expression is a SIM Expr (calls, symbols, numbers). The lens renders it as a scene/tree: each operator is a branch labelled by its head, each leaf an atom. It never evaluates the expression; it shows its structure.

Constants§

SYMBOLIC_LENS
The symbolic lens id.

Functions§

call
A small symbolic builder for tests and demos: (operator arg ...).
symbolic_tree
Render a symbolic expression as a scene/tree.