Module observer

Source
Expand description

Implements traits for things that wish to observe internal state changes of snix-eval.

This can be used to gain insights from compilation, to trace the runtime, and so on.

All methods are optional, that is, observers can implement only

Structs§

DisassemblingObserver
An observer that prints disassembled chunk information to its internal writer whenwever the compiler emits a toplevel function, closure or thunk.
NoOpObserver
TracingObserver
An observer that collects a textual representation of an entire runtime execution.

Traits§

CompilerObserver
Implemented by types that wish to observe internal happenings of the Snix compiler.
RuntimeObserver
Implemented by types that wish to observe internal happenings of the Snix virtual machine at runtime.