rune
An embeddable dynamic programming language for Rust.
Contributing
If you want to help out, there's a number of optimization tasks available in Future Optimizations.
Create an issue about the optimization you want to work on and communicate that you are working on it.
Features of Rune
- Clean Rust FFI.
- Stack-based C FFI like with Lua (TBD).
- Stack frames, allowing for isolation across function calls.
- Template string (Book 📖).
- Try operator (Book 📖).
- Pattern matching (Book 📖).
- Structs and enums with associated data and functions (Book 📖).
- Asynchronous programming (Book 📖).
- Generators (Book 📖).
Rune Scripts
You can run Rune programs with the bundled CLI:
cargo run -- scripts/hello_world.rn
If you want to see detailed diagnostics of your program while it's running, you can use:
cargo run -- scripts/hello_world.rn --dump-unit --trace --dump-vm
See --help
for more information.