Cedrus is a high-performance, statically typed, compiled programming language designed for simplicity, safety, and speed. Inspired by the expressive syntax of Rust and the raw power of C++, Cedrus leverages the Go toolchain to produce lightweight, native executables.
- Modern Syntax: Clean, Rust-inspired syntax with
let,const, andfnkeywords. - Strongly Typed: Catch errors at compile-time with a robust static type system.
- Compiled Performance: Transpiles to Go and compiles to native machine code (EXE).
- Lightweight: Minimal runtime overhead and fast compilation times.
- Medium-Level Control: High-level abstractions with the performance of a systems language.
Clone the repository and build the Cedrus CLI tool:
git clone https://github.com/youruser/cedrus.git
cd cedrus
go build -o cedrus.exe cmd/cedrus/main.goCreate a file named hello.ced:
fn main() {
let name: string = "World";
print("Hello, Cedrus", name, "!");
}# Run immediately
./cedrus.exe run hello.ced
# Build a native executable
./cedrus.exe build hello.ced
./hello.exeFor a complete guide on syntax, types, and features, see DOCS.md.
- Structs and Custom Types
- Package/Module System
- Memory Management Improvements
- Standard Library Expansion (HTTP, JSON, File IO)
Cedrus is released under the Apache 2.0 License.