Hopper
Basics

Your first program

Use the interpreter to run a file with a main function.

Put this in src/main.hop.

src/main.hop
fn main() -> i32 {
    return 42;
}
terminal

hopper run demo src

Run it from the directory containing src:

hopper run demo src

Here demo is the package name, not a file. The interpreter displays the value that main returns.