dash-lang 0.2.0

A simple interpreted language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use dash_lang::run;

#[test]
fn test_run_simple_program() {
    let source = r#"
        let x = 2 + 3
        print(x)
    "#;

    // You can redirect stdout to capture output if needed
    run(source);
}