LLVM backend
Native codegen for compiler, runtime, and low-level tooling experiments.
Unreleased systems language, current version 0.0.0-dev
Zynx is an unreleased systems programming language for experimenting with native code, checked ownership, explicit error unions, and LLVM-based compilation. It is not production-ready: today it is useful for contributors, compiler/runtime experiments, and low-level tooling prototypes where breaking changes are acceptable.
Native codegen for compiler, runtime, and low-level tooling experiments.
Ownership, borrowing, and drops aim for C-level control with checked lifetimes.
Source files, tests, packages, formatter, and LSP behavior live behind one driver.
Extern declarations keep native boundaries explicit and unsafe code narrow.
Active development
The current compiler is a working development target for language design experiments: modules, generics, async functions, tests, formatting, an LSP server, and a growing standard library.
import std.io;
fn clamp_min(value: i32, minimum: i32) -> i32 {
if value < minimum {
return minimum;
}
return value;
}
fn main() {
let total = 0;
let i = 0;
while i < 3 {
total = total + clamp_min(i, 1);
i = i + 1;
}
io.println("total: {total}");
}