From 7451bdb02d54243eb299dde55f22d3b06ac5b2f2 Mon Sep 17 00:00:00 2001 From: Cody Date: Tue, 11 Apr 2023 00:38:31 -0500 Subject: goodnight --- crates/sloth_vm/src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crates/sloth_vm/src') diff --git a/crates/sloth_vm/src/lib.rs b/crates/sloth_vm/src/lib.rs index 9240577..68f0406 100644 --- a/crates/sloth_vm/src/lib.rs +++ b/crates/sloth_vm/src/lib.rs @@ -27,6 +27,16 @@ impl VM { } } + fn execute(&mut self) { + loop { + self.execute_once(); + } + } + + fn execute_once(&mut self) { + // + } + fn run(&mut self, chunk: &Chunk) { let mut pointer = 0; -- cgit v1.2.3