rune
rune copied to clipboard
An embeddable dynamic programming language for Rust.
We currently do variable indexing based on the bottom of the current call frame. This could in principle instead be based on the relative offset from the top of the...
Currently there is no standardized way of bundling own "std" modules written in Rune. Adding them as additional source files and wrapping the provided functions in a `mod`-block works as...
It would be nice to have underline `_` support in number literals. This allows for easier reading of large numbers. ```rune error: parse error ┌─ test.rn:1:20 │ 1 │ const...
Currently all integers are implicitly converted to `i64` and can cause overflow errors during runtime. This is related to #261 and more or less just a documentation of the error...
Alternative solution for #652. In most cases, users don't need FormattingError enum itself, and just serializing the error message makes things easier in later code chagnes I believe.
There is an awful lot of duplicated instructions to perform stack shuffling, so the idea is that changing memory addressing mode will address that. This way we ensure that each...
This is to start sketching the work in implementing unsized conversions for `Shared` which should eventually allow us to deprecated `OwnedTuple` in favor of `Box` and `Shared`. This is (to...
### Usage ```rs #[derive(Any, Clone, Display, Debug)] #[rune(item = ::std::env, protocols(STRING_DISPLAY, STRING_DEBUG, TRY=Self::branch))] #[display("{}", value.as_deref().unwrap_or_default())] #[debug("{name}={:?}", value.as_deref().unwrap_or_default())] struct Var { name: String, value: Option, } impl Var { fn branch(self)...