rune
rune copied to clipboard
An embeddable dynamic programming language for Rust.
`test.rn`: ```rune pub fn main() { println!("{:>} = {:>}", "AB", 0x1234); println!("{:>} = {:08}", "AB", 0x1234); } ``` ```shell $ rune run test.rn AB = AB4660 AB = 00AB4660 ```
Following the suggestion in #407 this is a complete rework of the vscode extension based on the rust-analyzer extension code. This should at least fix the usage over ssh connection...
The brainfuck benchmarks are currently failing on the main branch. I bisected this and it looks like the problem was introduced by 2d86f90a3725c5962e9fa334510ea4a5859f2452. I'm running `cargo +nightly bench` on tip...
Hello, I've installed the extension, and configured it to set the full path to the rune-languageserver.exe. However, it looks like it's doing nothing, and I have literally 0 log from...
Many hex literals are considered invalid for no obvious reason, while nearly identical literals are accepted. Edit: `e` seems to be the common factor, likely related to scientific representation. ```...
If I register a rust function `fn foo(i: u8)` and try to call it from rune with `foo(10)`, I get this error: ``` Error: bad argument #0: expected `byte`, but...
Fields do not have any `PrivMeta` beyond their names (See `PrivStructMeta`), so their documentation strings are not being made publicly available following #408 and therefore cannot be walked in #412...
This is a tracking issue for introducing a HIR for Rune. This is currently done in the [`hir` branch](https://github.com/rune-rs/rune/tree/hir). #### Why a HIR? The intention here is to further decouple...
Hi, I can't construct struct like this: ```rust let action = SendAction { seq: 1, target_id: "123", headers: [], body_bytes: Bytes::new(), wait_strategy: RuneWaitStrategy::Ignore }; ``` its will cause an error:...
This lowers the complicated AST to an intermediate representation, on which more optimizations can be performed. # Constant folding With the advent of [the new IR](https://github.com/rune-rs/rune/pull/99), if fed through the...