Module bit_machine

Module bit_machine 

Source
Expand description

Simplicity Execution

Implementation of the Bit Machine, without TCO, as TCO precludes some frame management optimizations which can be used to great benefit.

Structs§

BitMachine
An execution context for a Simplicity program
NoTracker
Tracker that does not do anything (noop).
SetTracker
Tracker of executed left and right branches for each case node.
StderrTracker
Tracker that just outputs all its activity to stderr.

Enums§

ExecutionError
Errors related to simplicity Execution
LimitError
NodeOutput
Write frame of a terminal (childless) Simplicity program node.

Traits§

ExecTracker
An object which can be used to introspect the execution of the Bit Machine.
PruneTracker

Type Aliases§

FrameIter
An iterator over the contents of a read or write frame which yields bits.