use hbvm::{validate::validate, vm::Vm, RuntimeErrors}; fn main() -> Result<(), RuntimeErrors> { // TODO: Grab program from cmdline #[rustfmt::skip] let prog = &[]; if let Err(e) = validate(prog) { eprintln!("Program validation error: {e:?}"); return Ok(()); } else { unsafe { let mut vm = Vm::new_unchecked(prog); vm.run(); } } Ok(()) } pub fn time() -> u32 { 9 }