Skip to main content

Crux Programming Language

A small but mighty language


use Vec from "crux:vector";

fn main() {
    let v = Vec(3, [1.0, 2.0, 3.0])?;
    let normalized = v.normalize()?;

    println("Vector: " + string(v));
    println("Normalized: " + string(normalized));
}

main();
This documentation is still a work in progress

Full of Potential

Vectors, matrices, file I/O, math, and more built-in. No external dependencies needed.

Learn more →

Simple and Elegant

Simplicity and elegance are at the core of Crux's design.

Learn more →