aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/vm/instr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/instr.rs')
-rw-r--r--src/vm/instr.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vm/instr.rs b/src/vm/instr.rs
new file mode 100644
index 0000000..b03cd11
--- /dev/null
+++ b/src/vm/instr.rs
@@ -0,0 +1,7 @@
+#[derive(Debug)]
+pub enum Instr {
+ Char(u8),
+ Match,
+ Jmp(usize),
+ Split(usize, usize),
+}