Skip to content

cedruslang/cedrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Cedrus Programming Language

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.

πŸš€ Key Features

  • Modern Syntax: Clean, Rust-inspired syntax with let, const, and fn keywords.
  • 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.

πŸ› οΈ Quick Start

Prerequisites

Installation

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.go

Your First Program

Create a file named hello.ced:

fn main() {
    let name: string = "World";
    print("Hello, Cedrus", name, "!");
}

Running & Building

# Run immediately
./cedrus.exe run hello.ced

# Build a native executable
./cedrus.exe build hello.ced
./hello.exe

πŸ“š Documentation

For a complete guide on syntax, types, and features, see DOCS.md.

πŸ—ΊοΈ Roadmap

  • Structs and Custom Types
  • Package/Module System
  • Memory Management Improvements
  • Standard Library Expansion (HTTP, JSON, File IO)

πŸ“„ License

Cedrus is released under the Apache 2.0 License.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors