Skip to main content
Helix is a simple, modular scripting language built in Rust. It uses .hx files and compiles only the modules you need.

Quick Start

Run your first Helix script in seconds.

Core Philosophy

  1. The core language is tiny. Only basic constructs: variables, functions, if/else, for/while loops, return, wait, spawn.
  2. Everything else is a module. Discord, HTTP, databases — all handled by self-contained modules.
  3. Compile only what you need. Each module is behind a feature flag. Need only math and JSON? Your binary is ~900KB instead of ~5MB.
  4. Auto async/multithreading. The runtime handles concurrency automatically via Tokio.

Quick Start

# Run a Helix script
helix script.hx

# Run with verbose error output
helix -v script.hx
Example script (hello.hx):
name = "World"
print("Hello, {name}!")

Documentation