Blazing Fast
Compiles directly to optimized TypeScript with zero runtime overhead. Built with performance in mind.
A modern language that brings functional programming paradigms to the TypeScript ecosystem with zero runtime overhead
curl -fsSL https://zeno.run/install.sh | bashZenoscript bridges the gap between functional programming and the TypeScript ecosystem. Write expressive, maintainable code that compiles to clean TypeScript.
// Define a struct with methods
struct User {
name: string;
age: number;
}
// Pattern matching with atoms
let status = :loading
let message = match status {
:loading => "Please wait..."
:success => "Data loaded!"
:error => "Something went wrong"
_ => "Unknown status"
}
// Pipe operations for clean data flow
let result = users
|> filter(user => user.age >= 18)
|> map(user => user.name)
|> sorttype User = {
name: string;
age: number;
};
const status = Symbol.for("loading");
const message = (() => {
const __match_value = status;
if (__match_value === Symbol.for("loading")) {
return "Please wait...";
} else if (__match_value === Symbol.for("success")) {
return "Data loaded!";
} else if (__match_value === Symbol.for("error")) {
return "Something went wrong";
} else {
return "Unknown status";
}
})();
const result = users
.filter(user => user.age >= 18)
.map(user => user.name)
.sort();curl -fsSL https://zeno.run/install.sh | bash# Create a new project
zeno init my-project
cd my-project
# Start development
bun devJust getting started? Check out the Introduction and Quick Start Guide.