-
I think some formal benchmarks will be great.
I don't really have large/complex enough scripts to really do a meaningful benchmark. And I'm not really an expert in this... nor do I have access to p…
-
Hi,
in my use case I would like to register a closure in via `engine.register_fn` which executes a side effect in my surrounding environment but when I try to do this I get a compile error which says…
-
I'm trying to call a function which I previously registered using engine.consume; however rhai types the argument as dynamic.
```rust
let script = r#"
fn main(arg) {
…
-
Current we are matching directly over object, means subject can act on object, with ABAC we can do matching like: subject can act on object is this object has specific attributes.
[ABAC doc](https:…
-
Is rhai properly sandboxed, akin to Wasm? Meaning that I can safely run arbitrary scripts provided by users?
This might be same valuabe information for the readme as well.
-
## Proposal: namespaces
This proposal creates a new concept in Rhai called a *namespace*. The basics are:
* Namespaces live in a `Scope` as a third `ScopeType`. They do not conflict with variables…
-
Currently there seems no way for a Rhai script to mutate state outside of the engine. That is because all function registrations are `Fn` instead of `FnMut`.
The only way that a Rhai script can co…
-
This issue is meant to consolidate the discussion around the Scripting API.
It might be a bit early for an actual implementation to come out of this, however, starting a discussion around API desig…
-
Not having error handling (other than panicking) is a problem when integrating non-trivial Rust code with Rhai. This proposal basically adds unchecked exceptions so that functions can terminate scrip…
-
This is partly a "nice to have" feature, partly a way to simplify some of the `Fn` trait stuff that Rhai currently uses. (cc @schungx)
The usage would be simple. After calling `register_varargs_fn`…