summary refs log tree commit diff
path: root/src/interpreter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpreter.rs')
-rw-r--r--src/interpreter.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/interpreter.rs b/src/interpreter.rs
index ebddcf6..b93b05f 100644
--- a/src/interpreter.rs
+++ b/src/interpreter.rs
@@ -37,18 +37,18 @@ pub enum Output {
 }
 
 pub struct Interpreter {
-    memory: Vec<u8>,
-    stack: Vec<u8>,
-    mem_writeable: MemAddress,
-    mem_min: MemAddress,
-    heap: Vec<HeapChunk>,
-
-    reg_program: MemAddress,
-    reg_stack: StackAddress,
-    reg_frame: StackAddress,
-    reg_strdec: MemAddress,
-
-    output_mode: Output,
+    pub memory: Vec<u8>,
+    pub stack: Vec<u8>,
+    pub mem_writeable: MemAddress,
+    pub mem_min: MemAddress,
+    pub heap: Vec<HeapChunk>,
+
+    pub reg_program: MemAddress,
+    pub reg_stack: StackAddress,
+    pub reg_frame: StackAddress,
+    pub reg_strdec: MemAddress,
+
+    pub output_mode: Output,
 }
 
 impl Interpreter {