-
Version: 0.19.13
My rhai file:
``` js
let content=#{
title:"Test Title",
tags:["Hello","World"]
};
let tags = [];
for name in content.tags {
if tags.some(|t| t == name) …
-
I'm just starting a second game using Rhai and [Macroquad](https://github.com/not-fl3/miniquad/), and I can't get a hello-world example to work in WASM:
```rust
use macroquad::*;
use glam::{vec2}…
Pebaz updated
3 years ago
-
I've been reviewing the `wasmtime` crate from a Rust API perspective and ended up realizing that there's actually quite a few changes that I would like to make to the crate. I think that these changes…
-
I'm looking to use Rhai for scripting in a financial application and I'm starting to research how I can add rust_decimal support to the runtime.
Best case scenario for me is that all decimal litera…
-
[In a `rhai`script the import statement is dynamic, and it loads whenever it executes. Theoretically the engine can supply a different module every time](https://discord.com/channels/76761102545688985…
-
pre 1.0
====
* string interpolation (https://github.com/jonathandturner/rhai/issues/121)
1.0
==
* futures (https://github.com/jonathandturner/rhai/issues/52)
* basic threads (https://github.co…
-
Hi Guys,
First of all, I wanna say thank you for the incredible work, Rhai is amazing.
Assume a script with the following syntax error:
```
let my_obj = #{
"movie-names" : ["Matrix","St…
-
Easier than writing:
```
print("The answer to " + num + " x 2 = " + (num * 2)+ "!");
```
We can write:
```
print("The answer to ${num} x 2 = ${num * 2}!");
```
with the results convert…
-
I'm very interested in using Rhai foremost (but not necessarily exclusively) as an expression evaluation engine, where a compiled AST is evaluated possibly millions of times. Before every execution, s…
-
Why :sob:
please consider exposing the api for working with radians directly
https://github.com/rhaiscript/rhai/blob/e22bb35f821bb5721f7d6edd37c5b12592d7ff4f/src/packages/math_basic.rs#L115
Kezii updated
3 years ago