summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-20 23:26:18 +0100
committerubq323 <ubq323@ubq323.website>2024-06-20 23:26:18 +0100
commitf331192861d8ba02af7fd47f2e0c6d6db7515007 (patch)
tree9752cdea672d64f3ebfd3ee142185468510708fd /vm.h
parentfa8891ffe017ae890f0ef07915cf8b52acd7304a (diff)
add (if cond if-true if-false) builtin
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index e184426..81abea3 100644
--- a/vm.h
+++ b/vm.h
@@ -53,6 +53,10 @@ typedef enum {
OP_TRUE,
OP_FALSE,
OP_NIL,
+
+ OP_0BRANCH,
+ OP_SKIP,
+ OP_REDO,
} Op;
int runvm(State *S);