Getting Started

Install the compiler, run your first .sio program, and learn the basics.

Getting Started

Sounio programs are .sio files compiled and run with the souc compiler.

Prerequisites

  • Rust toolchain (stable)
  • Optional: NVIDIA GPU + CUDA 12+ for GPU-specific workflows

1) Install souc

git clone https://github.com/sounio-lang/sounio.git
cd sounio

# Build the compiler
cargo build --release

# Run it from the repo
./target/release/souc --version

Optional: put souc on your PATH

sudo cp ./target/release/souc /usr/local/bin/souc

2) Hello World

Create hello.sio:

fn main() with IO {
    println("Hello, Sounio!")
}

Type-check and run it:

souc check hello.sio
souc run hello.sio

3) Next Steps