Try Rust#

google/evcxr

Note: The Rust kernel cannot be interrupted!

let a=5;
a+7
12
pub struct User {
    username: String
}
let user = User { username: String::from("John Doe") };
:vars
VariableType
ai32
userUser
fn my_func() {
    // Statements here are executed when the compiled binary is called

    // Print text to the console
    println!("Hello World!");
}

my_func();
Hello World!