Skip to main content

Module unit

Module unit 

Source
Expand description

The interpreter’s run unit: rt::unit’s, holding each loaded program as its Compiled and calling through the Library.

Re-exports§

pub use crate::loader::AddProgram;
pub use crate::loader::Library;

Structs§

LoadedProgram
A program a loader found and compiled.
Remains
What a run leaves in its run unit: memory, every byte, and each program’s name and where its storage starts, which the differential test compares between the interpreter and the VM.

Enums§

Clock
Event
What a run did that its evidence journal records: each file as it is opened and closed, each program CALL loads, with the source it was read from when a library supplied it, and each operation an input could steer, with its operand as the program’s code page reads it.
LoadError
StatementFilter
The statements whose start a run tells its observer of: every one, or those on these lines of any source, which the observer narrows to their files.

Constants§

ADDRESS_BASE
A pointer’s value is its offset into run-unit memory plus this, so that no item’s address is NULL.
OS_COMMAND_ROUTINES
The routines cobolwork reads a CALL of as running an operating-system command, whose arguments the input trace checks.
RETURN_CODE
RETURN-CODE, a halfword shared by every program in the run unit.

Traits§

Loader
Where CALL finds programs, and what the run unit needs to know about one it loaded.

Type Aliases§

Observer
RunUnit