Red is a programming language and single-file toolchain for system code, scripting, and cross-platform GUI apps. It bundles Red/System, parsing, compilation, and a REPL without external dependencies beyond an interim Rebol2 bootstrap.
Overview
Red takes inspiration from Rebol while widening the scope from low-level native code to high-level scripts and reactive graphical interfaces. Built-in dialects include Red/System for C-like native compilation and Parse for PEG-style text processing.
The distribution ships as roughly one megabyte containing compiler, encapper, interpreter, linker, standard library, and interactive console. Programs can compile to small standalone executables, optionally release-linked without runtime dependencies, and cross-compile toward other supported CPU and OS targets from a host build.
Language features combine functional, imperative, reactive, and symbolic styles with prototype objects, rich datatypes, pattern-matching macros, garbage collection, and an embedded GUI stack using layout and drawing dialects. Concurrency-oriented actor features are still maturing.
Developers download platform binaries, use the REPL immediately, or feed .red sources to redc for development or release builds, including GUI views and remotely loaded showcase scripts.
Key features
- Single-file language toolchain
- Red/System native compilation dialect
- Built-in PEG Parse dialect
- Cross-platform GUI console
- Cross-compilation targets
- Prototype-based object model
- Pattern-matching macro system
- Small standalone executables
Use cases
- Cross-platform scripting
- Native system programming
- Desktop GUI utilities
- Teaching compact language design
- Embedded tooling experiments