Module endbasic_std::program

source ·
Expand description

Stored program manipulation.

Structs

The EDIT command.
The KILL command.
The LIST command.
The LOAD command.
The NEW command.
The RUN command.
The SAVE command.

Constants

Message to print on the console when receiving a break signal.

Traits

Representation of the single program that we can keep in memory.

Functions

Adds all program editing commands against the stored program to the machine, using console for interactive editing and using storage as the on-disk storage for the programs.
If the program is dirty, asks if it’s OK to continue on console and discard its changes.