TypeScript-Inspired
Familiar syntax for millions of developers. If you know TypeScript, you already know 80% of Zeus.
alpha · compiled · garbage-collected
Zeus borrows the syntax you already know from TypeScript and compiles straight to native machine code via LLVM — no interpreter, no VM, no runtime tax. Automatic garbage collection and first-class editor tooling come built in.
Install
brew tap ameerthehacker/zeus && brew install zeus macOS · Apple Silicon & Intel · Linux coming soon
let name = "Zeus"
console.log(`Hello world, I'm ${name} 👋!`) Why Zeus?
Zeus bridges the gap between developer experience and performance. Write code that feels like TypeScript, but compiles to blazing-fast native binaries.
Familiar syntax for millions of developers. If you know TypeScript, you already know 80% of Zeus.
LLVM-powered compilation to native machine code. No interpreter, no runtime overhead.
Focus on your logic, not memory management. Precise garbage collection handles the rest.
First-class Language Server Protocol support. Real-time diagnostics and completions in VS Code.
Quick example
If you have written TypeScript, this reads exactly how you would expect — inheritance and polymorphism included — but it compiles to a standalone native binary.
extendsclass Shape {
public area(): i32 { return 0; }
}
class Square extends Shape {
public side: i32;
constructor(side: i32) { this.side = side; }
public area(): i32 { return this.side * this.side; }
}
class Rect extends Shape {
public w: i32;
public h: i32;
constructor(w: i32, h: i32) { this.w = w; this.h = h; }
public area(): i32 { return this.w * this.h; }
}
// One function, any Shape — the override is chosen at runtime.
function areaOf(shape: Shape): i32 {
return shape.area();
}
function main(): i32 {
return areaOf(new Square(5)) + areaOf(new Rect(3, 4)); // 25 + 12 => 37
} Install the compiler and ship your first native binary in minutes.