diff --git a/hbxrt/src/main.rs b/hbxrt/src/main.rs index e299c27..ae86ae6 100644 --- a/hbxrt/src/main.rs +++ b/hbxrt/src/main.rs @@ -2,17 +2,14 @@ #![deny(unsafe_op_in_unsafe_fn)] -mod eca; mod mem; use { hbvm::{mem::Address, Vm, VmRunOk}, memmap2::Mmap, - std::{env::args, fs::File, io::Read, mem::MaybeUninit, process::exit}, + std::{env::args, fs::File, mem::MaybeUninit, process::exit}, }; -type RtVm = Vm; - fn main() -> Result<(), Box> { eprintln!("== HBĂ—RT (Holey Bytes Experimental Runtime) v0.1 =="); eprintln!("[W] Currently supporting only flat images"); diff --git a/program.hbf b/program.hbf deleted file mode 100644 index cf79efc..0000000 Binary files a/program.hbf and /dev/null differ diff --git a/test.hba b/test.hba deleted file mode 100644 index f519247..0000000 --- a/test.hba +++ /dev/null @@ -1,9 +0,0 @@ -let hello = data::str("Hello, world!"); - -li8(r1, 6); -li8(r2, 10); -lra16(r3, r0, hello); -li8(r4, hello.len); - -eca(); -tx(); \ No newline at end of file