rune 0.14.2

The Rune Language, an embeddable dynamic programming language for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
prelude!();

#[test]
fn test_assign_assign_exprs() {
    let out: (i64, (), ()) = eval(
        r#"
        let a = #{b: #{c: #{d: 1}}};
        let b = 2;
        let c = 3;

        c = b = a.b.c = 4;
        (a.b.c, b, c)
        "#,
    );
    assert_eq!(out, (4, (), ()));
}