-
Doe to my [issues with ssh under windows](https://github.com/cargo-generate/cargo-generate/issues/630#issue-1262837605) I tried installing it in wsl in an ubuntu environment.
Unfortunately it does no…
-
- I know there are interpolation expressions for strings.
```javascript
let k = "rhai";
let s = `hi ${k}`;
print(s);
// hi rhai
```
- I have byte type now.
```javascript
let body = "sssssssss…
-
hello! Im trying to cache asts but I don't see any way to do this. I don't think #161 is finished, but idk. is there any standard way of doing this or should I try and take all the info and then recon…
-
I have global function implemented something like this:
```rust
engine.register_result_fn("do_stuff",
move |context: rhai::NativeCallContext, callback: rhai::FnPtr| {
callback.call_d…
-
-
After bumping rhai from 1.3.0 to 1.4.0, I received a panic when loading some scripts, with the following message.
```thread 'main' panicked at 'op-assignment operator'```
The panic occurs at src…
-
It would be very useful to have an `implode(list)` command.
Example:
```
implode ", " page.head.tags
```
Above would produce `tag1, tag2, tag3`
-
hello again,
```
let mut engine = Engine::new();
engine.register_type::();
engine.register_fn("get", ContractStorage::get_segment);
engine.register_fn("set", ContractStorage::set_segment);
engin…
-
**Maintainer's Note:** I believe this is a broader issue with proc macros in general, as the proc macro is compiled for the host I believe while any dependencies (or crates using the proc macro) are c…
-
- my script code
```javascript
fn main{
push_item("some data");
}
```
- I define an array in scope,Execute the script to get the results
```rust
let mut scope = Scope::new();
scope.set_or_p…