aboutsummaryrefslogtreecommitdiff
path: root/chunk.d
diff options
context:
space:
mode:
authormryouse2023-05-26 19:21:25 +0000
committermryouse2023-05-26 19:21:25 +0000
commitb57c1630da58d55dbb7855d9de76f776600038ea (patch)
treeda8c22b43de8d4afe9c6caf2120c953e5213c254 /chunk.d
parent6261be78421d6a842b21653b069ca7b032f8fecc (diff)
add more opcodes, preparing for HOF
Diffstat (limited to 'chunk.d')
-rw-r--r--chunk.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/chunk.d b/chunk.d
index b6a5348..63d5bae 100644
--- a/chunk.d
+++ b/chunk.d
@@ -186,6 +186,14 @@ enum OpCode {
OP_JUMP_IF_FALSE,
OP_JUMP_IF_TRUE,
+ OP_IS_NIL,
+ OP_DUPLICATE,
+ OP_DUPLICATE_2,
+ OP_ROTATE_N,
+ OP_ZERO,
+ OP_INCREMENT,
+ OP_LIST_N,
+
OP_CALL,
OP_LIST,