factor_agent.gate.vocabulary.Vocabulary.execute#
- Vocabulary.execute(code)[source]#
Run candidate code, which passed
_checks.static_reasons, and return the names it bound.The fields are new operators every time, so two executions share no node; the NaN-preserving stand-ins add the bar mask.
-xof an operator isMulConst(x, -1)anda ** bisPow(a, b)(a numberbas aConstantOp), when the vocabulary has them.- Raises:
- Exception
Whatever the code raises, for the Gate to report back to it.