diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-07-19 20:18:15 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-07-19 20:18:15 +0200 |
| commit | ae10b7d764d9587ab92a682781f8479107e8dff0 (patch) | |
| tree | 13e060f304ca1cac98ae1e71a2a6e27d9c5fb269 /src/pex/instruction.zig | |
| parent | d138a622dcc77302cc452c52946f6202b6a03f5e (diff) | |
add pex
Diffstat (limited to 'src/pex/instruction.zig')
| -rw-r--r-- | src/pex/instruction.zig | 9 |
1 files changed, 9 insertions, 0 deletions
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, +}; |