From ae10b7d764d9587ab92a682781f8479107e8dff0 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 19 Jul 2025 20:18:15 +0200 Subject: add pex --- src/pex/instruction.zig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/pex/instruction.zig (limited to 'src/pex/instruction.zig') diff --git a/src/pex/instruction.zig b/src/pex/instruction.zig new file mode 100644 index 0000000..5edffef --- /dev/null +++ b/src/pex/instruction.zig @@ -0,0 +1,9 @@ +const std = @import("std"); +const Node = @import("node.zig"); + +pub const Instruction = union(enum) { + check: u8, + call: usize, + jump: *std.ArrayListUnmanaged(*Node), + @"return": void, +}; -- cgit v1.2.3-70-g09d2