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.
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
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 initBuild a project:
python ../../../redline.py buildCompile a single file:
python redline.py build path/to/my_file.rlMake it a global command — add the REDLINE repo directory to your system PATH.
Full recode. Cleaner compiler architecture, expanded stdlib, better error messages. Details TBA.
MIT.
Part of the Sunlight Foundation