From 618de4c70d8916f64781997f3ae538e3e6109d00 Mon Sep 17 00:00:00 2001 From: Ben Winston Date: Sun, 21 May 2023 16:20:41 -0400 Subject: if/else, 'and' control flow --- chunk.d | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chunk.d') diff --git a/chunk.d b/chunk.d index d6a9b5a..b3209a8 100644 --- a/chunk.d +++ b/chunk.d @@ -48,6 +48,9 @@ enum OpCode { OP_POP_SCOPE, OP_SUBTRACT, OP_NIL, + + OP_JUMP, + OP_JUMP_IF_FALSE, } class Chunk { -- cgit v1.2.3