-
I have some code that looks like this.
```rust
impl EmitSetup for RhaiSetupCtx {
fn setup_rc>>) -> EmitResult {
let mut scope = rhai::Scope::new();
scope.push("e", emitter);…
-
With Rhai, is it possible to rename the keyword `fn` to something like `def`? What about the `let` keyword? Would it be possible to remove it all together and have no keyword for variable definition? …
-
adding documentation for feature #855
-
Please implement "to_float" for float.
Ideally, implement "to_int" also for "int", and "to_decimal" for "decimal".
(cf. [https://rhai.rs/book/ref/convert.html?highlight=to_float#convert-between-int…
-
This is inspired from a customer use case. They're doing server-driven UI and have a subgraph for returning "blocks" of user interface elements. The goal is avoiding the "data" subgraphs from knowing …
-
I registered an enum as described here: https://rhai.rs/book/patterns/enums.html
It works as described, I can use the enum (and pass it as an argument), so it seems the type is registered:
`asse…
-
### The problem
I moderate a large community, asklemmy. Given it's size and it's name, new users frequently ask support questions, despite a pinned post and rules against it. Sampling recent posts,…
boehs updated
5 months ago
-
[PR: https://github.com/rhaiscript/rhai/pull/817](https://github.com/rhaiscript/rhai/pull/817)
- [x] Docs docs docs
- [x] More tests
- [x] Register a pretty-print name for types
- [x] Attribute …
-
Adding a `Vec` or array to a scope doesn't seems to be recognized as a Rhai array during evaluation of a script.
How can a Rust `Vec` be added to the scope as an Rhai array?
-
This is an thread where you can share screenshots and gifs of how you are using egui. Feel free to also share a link to your project and/or the source!
There is also a showcase gallery on the offic…