rune
rune copied to clipboard
An embeddable dynamic programming language for Rust.
There are already `impl` blocks but no traits Traits can be syntax sugar for regular `impl` blocks ```rs trait Y { fn say_hi() { println!("Hi!"); } } struct X {}...
Hellow, is there a way to update / modify a function in the vm ?
Since #464, native modules can now be documented. Missing features: * Generating links from *full* rune paths. * Running documentation tests. This ensures that the documentation is *correct* and as...
Allows to do: ```rs type Result = core::result::Result; fn some_test -> Result { Ok(()) } ``` Though I also get not doing this, you really don't save much, but not...
There is only detection in place for functions that take `self`, but not for e.g. constructors that return `Self`: ```rs impl Struct { #[rune::function] fn new(it: usize) -> Self {...
Probably quote shouldn't parse any joint punctuation as one token.
quote left `#(iter)*` untouched, but expanded `#(iter);*` correctly.
Not sure if I'm using the right word. In rust's quote you can do ```rs quote!(#(#the-iterator ;)*) ``` while in rune it would have to be ```rs quote!(#(quote!(#the-iterator ;))*) ```...
I couldn't find any issues about this, and it's not clear from the docs. Can I run untrusted rune scripts in a larger rust project? Take > But it's still...
I'd like `CompileVisitor` to know whether a function is `pub` and the names of parameters.