janetrs
janetrs copied to clipboard
Rust high level bindings for Janet
I'm trying to create a demo: ```rust use janetrs::client::{Error, JanetClient}; fn main() -> Result { let client = JanetClient::init_with_default_env()?; client.run("(print `Hello from Janet!`)")?; let out = client.run("(+ 2 2)")?; println!("{}",...
I noticed many doctests fail since `JanetClient` isn't in the default feature set. The doctests can be wrapped with `#[cfg_attr(..., doc = "...")]` to skip them with the default features....
The `TryFrom` implementation for `i64` and `u64` only tries to get value from the Janet value if the it is an abstract type. While the internal Janet implementation can get...
In janetrs-dev/src/types/array.rs, maybe in code, " if index < 0 || index > self.len() + 1" should be " if index < 0 || index > self.len()" ? ```rust ///...