1
0
Fork 0
forked from fun/fun

More REPL enhancements. Type :help in the REPL to get more information.

This commit is contained in:
Johannes Findeisen 2025-09-15 01:13:13 +02:00
commit 08e7c9a623
5 changed files with 168 additions and 9 deletions

View file

@ -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)