Expand description
Stored program manipulation.
Structs§
- Disasm
Command - The
DISASMcommand. - Edit
Command - The
EDITcommand. - Kill
Command - The
KILLcommand. - List
Command - The
LISTcommand. - Load
Command - The
LOADcommand. - NewCommand
- The
NEWcommand. - RunCommand
- The
RUNcommand. - Save
Command - The
SAVEcommand.
Constants§
- BREAK_
MSG - Message to print on the console when receiving a break signal.
Traits§
- Program
- Representation of the single program that we can keep in memory.
Functions§
- add_all
- Adds all program editing commands against the stored
programto themachine, usingconsolefor interactive editing and usingstorageas the on-disk storage for the programs. - continue_
if_ modified - If the
programis dirty, asks if it’s OK to continue onconsoleand discard its changes.