More REPL enhancements. Type :help in the REPL to get more information.
This commit is contained in:
parent
0704640893
commit
08e7c9a623
5 changed files with 168 additions and 9 deletions
2
src/vm.h
2
src/vm.h
|
|
@ -34,6 +34,8 @@ typedef struct {
|
|||
|
||||
Value output[VM_OUTPUT_SIZE]; // store printed values
|
||||
int output_count;
|
||||
|
||||
long long instr_count; // executed instructions in the last vm_run
|
||||
} VM;
|
||||
|
||||
// initialize VM (zero state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue