Working reading
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
use std::path::Path;
|
||||
|
||||
use archforge::runtime::Runtime;
|
||||
|
||||
fn main() {
|
||||
let mut runtime = Runtime::new();
|
||||
|
||||
runtime.execute_script(Path::new("example.forge"));
|
||||
|
||||
runtime.call_function("main", vec![]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user