aboutsummaryrefslogtreecommitdiff
path: root/src/vm/runner/runner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/runner/runner.h')
-rw-r--r--src/vm/runner/runner.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vm/runner/runner.h b/src/vm/runner/runner.h
new file mode 100644
index 0000000..e59b447
--- /dev/null
+++ b/src/vm/runner/runner.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <compiler/code_generator/code_generator.h>
+
+extern bool runner(Instructions instructions);
+
+extern bool runInstruction(Instruction instruction, void ***restrict stack,
+ size_t *restrict stack_size,
+ size_t *restrict stack_inserted);