Skip to content
Sunlight-FoundationPublic

About

C++ but Simplifed

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

57 Commits

Folders and files

Repository files navigation

Redline 🟥

C++ but you won't hate your life.

Redline is a transpiled systems language. Write Python-style syntax, get native C++ performance. No pointer arithmetic bleeding into your weekend, no header file nightmares — just clean code that compiles down to fast executables.

Status: Dormant — 2.0 recode in planning. Watch this repo for updates.


Why Redline?

C++ is powerful. It's also a minefield for large codebases. Redline gives you the speed without making you manage every landmine manually.

  • Python-like syntax — readable, writable, familiar
  • Transpiles to pure C++ — no runtime, no VM, just native code
  • Project-based builds via RedConfig.toml
  • Single-file compilation supported

Installation

Prerequisites

  • Rust & Cargo
  • G++ (C++17 compatible)
  • Python 3
  • Git

Setup

git clone https://github.com/Sunlight-Foundation/REDLINE.git
cd REDLINE
python redline.py init

Usage

Build a project:

python ../../../redline.py build

Compile a single file:

python redline.py build path/to/my_file.rl

Make it a global command — add the REDLINE repo directory to your system PATH.


What's Coming in 2.0

Full recode. Cleaner compiler architecture, expanded stdlib, better error messages. Details TBA.


License

MIT.

Part of the Sunlight Foundation

About

C++ but Simplifed

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages