Skip to content

Hello, World

1 min read

Print a line to check that Dream is installed and working. This is the smallest useful program to start with.

import system;

fun main() {
    System.println("Hello, world!");
}

Run:

dreamer init hello && cd hello
# paste into src/main.dream
dreamer run

import system; is required for System.println.