Rhai
duckscript
Our great sponsors
Rhai | duckscript | |
---|---|---|
27 | 3 | |
3,472 | 489 | |
3.2% | - | |
9.6 | 8.4 | |
13 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Rhai
- RustPython
-
Moonbit: The fast, compact and user friendly language for WebAssembly
For that world there is also Rhai (https://github.com/rhaiscript/rhai), TypeScript, Scheme, etc.
Though Moonbit does look nice too.
- Announcing dwarf!
-
Embeddable Scripting Language for Embedded Rust
As far as I know there exists rhai scripting lang. You can check it out -> https://github.com/rhaiscript/rhai
-
Rhai 1.13.0 released - embedded scripting engine for Rust.
Version 1.13.0 is released to crates.io.
-
What's the best way to make a type optionally Sync/Send?
Check out https://github.com/rhaiscript/rhai/blob/main/src/func/native.rs
- RustPython – A Python-3 (CPython >= 3.11.0) Interpreter written in Rust
- Best language to use as a scripting lang for my rust app
-
[concept] Modular kernel
The OS would be built in Rust and the module system could be made using ELF executibles (fast, but it could be really hard to implement modules to communicate with the kernel), WASM (can compile from many languages, slower but not too slow, APIs can be simple enough to implement if the correct VM is choses) or even a custom scripting language like rhai (slower, but best way for the implementation [way to connect modules and kernel]).
-
Godot game engine now has its own foundation
For sure, that's where something like rhai would shine: https://crates.io/crates/rhai
duckscript
- RustPython
-
New alternative for clap (declarative, basic and simple)
Currently i'm using it in cargo-make but will also use it later to parse args for duckscript commands.
-
Are there any embeddable languages in rust?
At it's most basic you could make a really simple interpreter by just doing such a thing, and there is essentially already such a simple language like that built for/in rust called Duckscript (rust has a surprisingly large number of little embedded languages), and that would be completely and entirely sufficient for many purposes, though if you want speed then you'll need to JIT or AOT the code, which is why wasm is so handy as you can interpret or JIT (or even AOT it with wasmer) without the much larger overhead of a, for example, javascript or java embedded runtime.
What are some alternatives?
dyon - A rusty dynamically typed scripting language
gluon - A static, type inferred and embeddable language written in Rust.
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
wasmi - WebAssembly (Wasm) interpreter.
hlua - Rust library to interface with Lua
BulbScript-for-Wiz-Lights - BulbScript is a simple scripting language for controlling Philips Wiz Lightbulbs using the pywizlight library.
rune - An embeddable dynamic programming language for Rust.
RustPython - A Python Interpreter written in Rust
mun - Source code for the Mun language and runtime.
Ketos - Lisp dialect scripting and extension language for Rust programs
run_script - Run shell scripts in rust.