hello

Hello, world. main may also return an integer, the exit status.

jihoo run examples/hello.jh
fn greet(name: str) -> String {
    "Hello, " + name + "!"
}

fn main() {
    println(greet("jihoo"))
}

View on GitHub

Esc