Working system

This commit is contained in:
2026-03-14 00:29:52 +01:00
parent 13a9c59364
commit 1cf1503d3a
2 changed files with 33 additions and 10 deletions
+2
View File
@@ -5,6 +5,8 @@ use archforge::runtime::Runtime;
fn main() {
let mut runtime = Runtime::new();
runtime.register_opcode("print", |params| println!("{params:?}"));
runtime.execute_script(Path::new("example.forge"));
runtime.call_function("main", vec![]);