rhai
rhai copied to clipboard
Rhai - An embedded scripting language for Rust.
Currently rhai does not support big number calculation, for example: ``` print(9223372036854775801 + 42 == 9223372036854775843) # got EXCEPTION: Addition overflow: 9223372036854775801 + 42 ``` I'm trying to integrate big...
Just a tracking issue for projects. Apparently I've got the first published crate that uses Rhai as a dependency: https://github.com/stevedonovan/findr
I noticed that `.rhai` files don't have any highlighting on github, and that no issues exist about this yet. Github's highlighting is powered by [github/linguist](https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-a-language), and they allow people to...
Type hints
I'm in the middle of writing the LSP server I mentioned in #268, and in order to provide more useful information (such as field completions), some kind of type system...
It would be nice to have something similar to [serde_json::to_string_pretty](https://docs.serde.rs/serde_json/fn.to_string_pretty.html) which formats Rhai scripts strings.
Is there a code generation tool? Do I want to batch convert from yaml files to rhai scripts, or can I use AST to code?
There currently seems to be no plugin/library that allows giving rhai scripts full system access by allowing them to do things like spawning subprocesses or doing filesystem operations. Is something...
I think that a language success is very dependent on the tooling. And having good editor support is step one. This is not a rhai issue per se, but I...
Bytecodes
I was bored yesterday so toyed around implementing a bytecodes compiler for Rhai. This is a second attempt taking experience from @gmorenz's PR https://github.com/jonathandturner/rhai/pull/147 Those interested can surf to this...