runX is an original programming language built from scratch; source files use the .rux extension. Its compiler, runxc, is written in Rust and compiles ahead of time to native executables through Cranelift.

It is an alpha release and the syntax may still change.

Example

--init using io

factorial(int n) -> int {
    if n <= 1 {
        return 1
    }

    return n * factorial(n - 1)
}

Get runX

Source code, releases and the full language guide are on GitHub: runX.

Licence

MIT License.