Hello World

A simple program to get started.

import Console from "console"

fn Main(): symbol {

    Console::Print("Hello, World!")

    return :ok
}

export Main

We can create a binary by running the compiler.

kevin hello.kev

This makes a hello binary we can run in our terminal.

$ ./hello
Hello, World!
‹ Previous Next ›