Audit
opulse.cli.audit ¶
Compare each legacy operator's stored op_compute_func with its definition.
The definition is evaluated by the reference interpreter in legacy mode
(docs/reference/semantics.md section 2); the legacy function is executed as stored.
Legacy recursive definitions use abs(x), which the definition grammar has
no syntax for, so abs(x) is rewritten to a temporary prefix operator ∥
that the interpreter treats as a primitive.
Two checks per operator:
local- callees are executed by their stored legacy code, so only the operator's own definition is compared with its own stored function;global- callees are interpreted from their definitions too, so a wrong callee makes every operator above it disagree.
Usage: opulse audit --operators
LegacyRuntime ¶
Executes stored legacy code strings unchanged (they read the global thres).