Red is a next-generation programming language strongly inspired by REBOL
11 days ago
- #programming
- #cross-platform
- #compiler
- Red is a programming language inspired by Rebol, with a native-code compiler for system to high-level scripting.
- Features DSL-oriented dialects like Red/System, Parse, VID, Draw, and Rich-text for various programming needs.
- Red offers a complete cross-platform toolchain, including an encapper, native compiler, interpreter, and linker.
- Main features include human-friendly syntax, multi-typing, concurrency support, and cross-compilation capabilities.
- Red produces small executables (<1MB) with no dependencies and supports both static and JIT compilation.
- Includes a powerful PEG parser, GUI system with layout and drawing DSLs, and bridging to the JVM.
- Red is highly embeddable, has a low memory footprint, and comes as a single-file toolchain (~1MB).
- The toolchain supports cross-compilation to various platforms like Windows, Linux, macOS, and Android.
- Red is currently in alpha, 32-bit only, and requires a Rebol2 interpreter for the toolchain.
- Examples include simple scripts to sophisticated applications like fetching GitHub commits and displaying them.
- Red's licensing includes BSD for the language and BSL for the runtime parts.