Hello! I was excited to learn about Gluon today, but I want to check here before getting any further. Is this project active anymore?
From what I can tell, none of the examples in the embedding chapter of the book work: https://gluon-lang.org/doc/crates_io/book/embedding-api.html.
For example,
use gluon::{ThreadExt, new_vm};
fn main() {
let vm = new_vm();
let (result, _) = vm.run_expr::<i32>("example", "1 + 2").unwrap();
assert_eq!(result, 3);
}
panics with
thread 'main' panicked at /Users/<user>/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gluon_vm-0.18.2/src/api/record.rs:123:13:
Types ` File` does not start with an uppercase letter
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace