koru.zon

A Koru project is described in koru.zon. The koru.zon-file should live in the repo root.

Structure

.{
    .name = "koru",
    .version = "0.1.0",
    .paths = .{
        .std = "./koru_std",
        .lib = "./lib",
    },
}

Paths

The paths translate to import labels and they become part of the canonical name for imported symbols:

~import std/io
~import lib/raylib

Calling it

The events can now be accessed using the io module:

~std/io:print.ln("Hello, World!")