rune
rune copied to clipboard
An embeddable dynamic programming language for Rust.
This code will slowly eat all available memory: ```rust loop { let a = #{}; a.a = a; // if you comment this line, everything will be fine } ```...
Hi, I really like the design of this language, thanks for sharing your code, I learned a lot from it. 
We currently only support matching over external structs, such as: ```rust #[derive(Any)] struct External { #[rune(get)] field: u32, } ``` Which would allow for the following in Rune: ```rust pub...
Lossless parsing would be a big boon for having better LSP support which can tolerate partial code much better.
This introduces a basic C API which allows for setting up and running Rune in C. There's still a bunch of important things missing: * Full interaction with the stack....
Maybe Add to Module to have Object call overrides than will run a set function for checks and returns similar to **module.field_fn** but as **object_fn**. So maybe `module.object_fn(Type_Npc , "obj",...
A nested import where the item imported is the same as the module being imported causes import resolution to spin forever. For example, like this: ```rust mod foo {} use...
While working on cleanup for `VmExecution` it became apparent to me that it should be possible to re-use the same virtual machine in `VmExecution`. `VmExecution` currently is essentially a stack...
So we almost have all the support we need for benchmarks with the `#[bench]` attribute in order to replace all benchmarks that are currently written in Rust. What's missing is...
Found this while trying some stuff on the playground over lunch... ```rust const FOOBAR = 1; pub fn main() { FOOBAR = 1; } ``` gives the errors: ``` error:...