The Program is a list of Instructions with metadata. The Runtime can execute the Program.
More...
#include <RuleSet.h>
The Program is a list of Instructions with metadata. The Runtime can execute the Program.
◆ Program()
quisp::runtime::Program::Program |
( |
const std::string & | name, |
|
|
const std::vector< InstructionTypes > & | opcodes, |
|
|
bool | debugging = false ) |
◆ debugging
bool quisp::runtime::Program::debugging = false |
if it's true, show instruction and runtime state in each step.
◆ label_map
LabelMap quisp::runtime::Program::label_map |
the map to find instruction index (pc) by label.
The Runtime uses this to jump / branch its execution.
◆ name
std::string quisp::runtime::Program::name |
the Program name for debugging purpose.
◆ opcodes
The documentation for this class was generated from the following files: