diff options
Diffstat (limited to 'crates/sloth_vm')
| -rw-r--r-- | crates/sloth_vm/src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/sloth_vm/src/lib.rs b/crates/sloth_vm/src/lib.rs index 2210a57..1dfb191 100644 --- a/crates/sloth_vm/src/lib.rs +++ b/crates/sloth_vm/src/lib.rs @@ -9,11 +9,20 @@ const STACK_SIZE: usize = 1024; +pub struct Chunk { + code: Vec<u8>, + constants: Vec<u64>, +} + pub struct VM { stack: [u8; STACK_SIZE], constants: Vec<u8>, } +impl VM { + // +} + #[cfg(test)] mod tests { #[test] |
