Lesson 01

Hello World

The simplest Krypton program

← All lessons   Next →

// Tutorial 01: Hello World
// The simplest Krypton program

just run {
    kp("Hello, World!")
}
Click ▶ Run to execute. Lessons using k:fs/k:http/match/struct need the real runtime.

Tip: this code box is editable — tweak it, then hit Run, or copy into a .k file and run locally.

Run it locally: kcc -r tutorial/01_hello_world.k

← All lessons   Next →