-
When I compile a Rhai script that has a function containing `return;`, the engine will seemingly compile the script forever.
```rust
// main.rs
fn main() {
let engine = rhai::Engine::new();
…
-
In the embedded WG we have another challenge with templates to solve. Once we have #17, it would be nice to provide additional guidance for the user to break down sensible value combinations into pres…
-
```bash
cargo run --bin rhai-run .\scripts\fibonacci.rhai
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
Running `target\debug\rhai-run.exe .\scripts\fibonacci.rhai`
Running Fi…
-
I miss readline support in the REPL: scrolling through statement history is very convenient.
-
When creating a dynamic shared between the script and external environment, it's often convenient to create wrapper APIs for functions that do some of the heavy-lifted cast magic:
```rust
struct C…
CJKay updated
3 years ago
-
```
11: print(f(100, 5, 2, 9, 6, 32));
^ Variable not found: KEY (line 6, position 29) in call to function f @ '\\?\C:\Users\vadim\Desktop\Rust\rhai\scripts\function_decl3.rhai'
```
-
I would like to call a rhai script from another rhai script in runtime. is it possible ?
Something like:
```
print("Running: " + child_script)
run(child_script)
```
And, having all modules in fu…
-
```
API
example.rhai
- foo(bar, baz)
- bar()
- thing()
```
Clicking on each function will jump to that function's definition.
Optimally, you'd have a button to collapse the l…
-
Right now it's not possible to run rhai scripts with shebangs, it's necessary to do a crazy hack with:
`///bin/true; bunch of shell script here to call a program`
-
Hi, thanks for making this :)
How hard would it be to make IRust useable for live scripting of a host, e.g. for music live coding in Rust?
It seems like this crate contains not only the Rust inter…