Introduction & Installation

Welcome to the REK Programming Language documentation. REK is a dynamic, embeddable scripting language designed for rapid development with built-in support for HTTP servers and seamless integration with other runtimes like Python and Node.js.

Installation

Option A: Prebuilt Binary (Recommended)

The easiest way to get started is using the standalone executable.

  1. Download the latest rek.exe from the releases page.
  2. Place it in a folder of your choice (e.g., C:\REK\).
  3. Add that folder to your system's PATH environment variable for easy access.
Verification: Open a terminal and type rek --version. You should see the current version printed.

Your First Program

Create a file named main.rek with the following content:

fn main() {
    log("Hello, REK!")
}

main()

Run it using the CLI:

rek run main.rek

You should see Hello, REK! printed to the console.

Ready to dive in? Check out the CLI Usage or jump straight to the Crash Course.