rhai icon indicating copy to clipboard operation
rhai copied to clipboard

Rhai - An embedded scripting language for Rust.

Results 78 rhai issues
Sort by recently updated
recently updated
newest added

Hello, I see that serde_json is a dependency under certain conditions - I'm wondering if you might be open to me implementing From for Dynamic if serde_json is enabled? This...

enhancement

Implement basic threads: ```rust // syntax is a to-do, too, a bit //spawns a new thread with the identifier 'myname'. Thread names are optional thread myname { stuff1(); stuff2(); etc();...

new feature

Turn threads into possible expressions, an extremely handy feature. Possibly introduce actors from `actress` for communication with other threads during their execution: ```rust // thread syntax TBD let mynum =...

new feature

The parser is currently pretty loosey-goosey about strictness to any particular language design. For example, you can elide semicolons between adjacent statements. This makes for some confusing issues when a...

``` switch 1 {} * switch 2 {} ^ Unexpected '*' (line 1, position 13) ``` It works when I parenthesize the first expression: ``` (switch 1 {}) * switch...

enhancement

:wave: I added these line to `lib.rs` : ```rs #![warn(clippy::all)] #![warn(clippy::pedantic)] #![warn(clippy::nursery)] #![warn(clippy::cargo)] #![warn(clippy::undocumented_unsafe_blocks)] ``` And there is quite a lot of warnings (1K+) Do you think these should be...

I've been browsing the code, but cannot seem to find the use for the double allocation, What's the purpose of it? This effectively means there are three indirection layers between...

enhancement

This is just a cosmetic issue and not even strictly wrong. The part of the source text that forms the function-call expression does indeed start there, but it would still...

Hi, after bumping the `rhai` version on one of our crates, I noticed that there's an undocumented breaking API change here: https://github.com/rhaiscript/rhai/pull/792/files#diff-15c660271c7e34c78e6b9f1c61305a7fcce209766894eb48d5b9b612cb52438fR180 resulting in: ``` --> notifications-handlers/src/bin/rhai-handler.rs:563:35 | 563 |...

regression