Rux 0.1.0 — It Compiles!

That's right. You read it correctly. Rux 0.1.0 is out, and it compiles code. Not all code — but code. Real, honest-to-goodness native machine code that runs on your actual computer. We're just as surprised as you are.
What Can It Do?
Rux 0.1.0 can compile a Main function that performs arithmetic operations and returns a result. That's the headline feature. You can add, subtract, multiply, and divide numbers. You could, in theory, compute the answer to the universe — as long as the answer is an integer and you don't need to print it.
func Main() -> int32 {
return (6 * 7) + (100 - 58);
}Revolutionary? Perhaps not. But every language starts somewhere, and ours starts with math. Newton would be proud. Probably.
Honest limitations: v0.1.0 compiles simple
Mainfunctions with arithmetic expressions. No loops, no standard output, no strings, no structs — yet. Those are coming. This is the foundation, and it's solid.
Installing Rux on Windows
The easiest way to get Rux on Windows is via Scoop. If you don't have Scoop yet, open PowerShell and run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-ExpressionThen add the Rux bucket and install the compiler:
scoop bucket add rux-lang https://github.com/rux-lang/Scoop
scoop install rux-lang/ruxVerify it worked:
rux versionIf you see a version number, congratulations — you are now a Rux developer. Go update your resume.
Full installation guide: Installation on Windows.
Setting Up VS Code
The Rux Language extension brings syntax highlighting to .rux files. Press Ctrl+P in VS Code and run:
ext install rux-lang.vscode-ruxYour Rux code will now look beautiful — even when it doesn't compile yet.
Full setup guide: Visual Studio Code.
Creating Your First Project
rux new MyApp
cd MyApp
code .This scaffolds a new Rux project with everything you need. Open Src/Main.rux and give your Main function something to do:
func Main() -> int32 {
return 2 + 2;
}Build and run it:
rux build
rux runThat's it. Your first Rux program just ran. It didn't print anything, but internally it returned 4, which is mathematically correct and emotionally satisfying.
What's Next?
v0.1.0 is step one of many. The roadmap includes print statements, variables, control flow, functions, and everything else you'd expect from a grown-up language. We're building this in the open, and every release will bring something new.
Follow the project on GitHub, join the community on Discord, and stay tuned.
The best is yet to compile.