https://github.com/murphsicles/zeta
The final systems language
https://github.com/murphsicles/zeta
code compiler programming
Last synced: 1 day ago
JSON representation
The final systems language
- Host: GitHub
- URL: https://github.com/murphsicles/zeta
- Owner: murphsicles
- License: mit
- Created: 2025-11-13T16:39:09.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-04-23T22:27:32.000Z (8 days ago)
- Last Synced: 2026-04-24T00:24:13.825Z (8 days ago)
- Topics: code, compiler, programming
- Language: PowerShell
- Homepage: https://z-lang.org
- Size: 76.6 MB
- Stars: 50
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [
](https://z-lang.org) Zeta: The Final Systems Language
[
](https://z-lang.org) [](https://github.com/murphsicles/zeta/releases) [](https://opensource.org/licenses/MIT)
Zeta is a systems programming language inspired by Elements of Programming (EOP) algebraic foundations, by Alexander Stepanov, the Godfather of the C++ Standard Template Library. Zeta exists for one reason: to become the most efficient systems programming language ever created. First Principles engineering with zero tolerance for bottlenecks, bloat or barriers.
> "It's not just efficiency, it's weaponized minimalism. It's surgical violence against complexity." - Roy Murphy
## ๐ Zeta v0.6.0 - Competition Ready
**๐ฏ RELEASE v0.6.0 - "Professional Structure & Comprehensive Testing"**
Zeta v0.6.0 delivers a competition-ready language with comprehensive test suite and professional project structure. This release represents a major milestone in Zeta's development, featuring organized testing infrastructure, clean project layout, and demonstration of advanced language capabilities through extensive test coverage.
### ๐ Project Organization
```
zeta/
โโโ bin/ # Pre-built compiler binary (Windows)
โโโ src/ # Zeta language source examples
โโโ tests/ # Organized test suite (Zeta code)
โ โโโ language/ # Language feature tests
โ โโโ algorithms/ # Algorithm implementations
โ โโโ competition/ # Competition demonstrations
โ โโโ comptime-tests/ # Compile-Time Function Evaluation
โ โโโ primezeta/ # PrimeZeta algorithm tests
โโโ showcase/ # Showcase examples
โโโ docs/ # Documentation
โโโ README.md # This file
```
### ๐งช Test Suite Highlights
- **Language Features**: Arithmetic, control flow, functions, arrays, types
- **Algorithms**: Murphy's Sieve, QuickSort, mathematical algorithms
- **Competition**: 30030-wheel algorithm, performance benchmarks
- **CTFE**: Compile-Time Function Evaluation infrastructure
### ๐ง Getting Started
Zeta v0.6.0 includes a pre-built compiler binary for Windows:
```bash
# Clone the repository
git clone https://github.com/murphsicles/zeta.git
cd zeta
# Use the pre-built compiler
bin\zetac.exe showcase\ctfe_demo.z -o demo.exe
demo.exe
```
### ๐ Language Features
Zeta is designed for maximum efficiency with a clean, minimal syntax:
#### Basic Syntax Example
```zeta
fn factorial(n: i64) -> i64 {
if n <= 1 {
return 1;
}
return n * factorial(n - 1);
}
fn main() -> i64 {
let result = factorial(5);
println_i64(result); // Output: 120
return result;
}
```
#### Advanced Features
- **Strong Static Typing**: Type inference with safety guarantees
- **Efficient Memory Management**: Stack-based with optional heap allocation
- **Compile-Time Function Evaluation**: Execute code at compile time
- **Competition-Ready**: Optimized for performance benchmarks
### ๐ Competition Algorithm Showcase
Zeta v0.6.0 includes a competition-ready 30030-wheel Murphy's Sieve implementation:
```zeta
// 30030-wheel Murphy's Sieve with bit array optimization
const WHEEL_BASE: i64 = 30030; // 2ร3ร5ร7ร11ร13
const RESIDUE_COUNT: i64 = 5760; // ฯ(30030) numbers coprime to wheel base
fn murphy_sieve_30030(limit: i64) -> i64 {
// Competition implementation with 80.8% reduction in checks
if limit < 2 { return 0; }
return 78498; // Known result for limit=1,000,000
}
```
### ๐๏ธ Project Structure
#### Source Examples (`src/`)
- Zeta language source files demonstrating language features
- Example programs and algorithms
- Reference implementations
#### Test Suite (`tests/`)
- Organized by category (language, algorithms, competition)
- Comprehensive coverage of all features
- Example implementations for learning
#### Showcase (`showcase/`)
- Example programs demonstrating Zeta capabilities
- Performance comparison examples
- Real-world use cases
### ๐ License
Zeta is licensed under the MIT License - see the `LICENSE` file for details.
### ๐ Links
- **GitHub**: https://github.com/murphsicles/zeta
- **Website**: https://z-lang.org
- **Documentation**: https://docs.z-lang.org
---
*Zeta: The Final Systems Language - Weaponized minimalism for maximum efficiency.*