Red: A programming language inspired by REBOL

https://news.ycombinator.com/rss Hits: 12
Summary

Red Programming Language Red is a programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting, while providing modern support for concurrency and multi-core CPUs. Red tackles the software building complexity using a DSL-oriented approach (we call them dialects) . The following dialects are built-in: Red/System: a C-level system programming language compiled to native code Parse: a powerful PEG parser VID: a simple GUI layout creation dialect Draw: a vector 2D drawing dialect Rich-text: a rich-text description dialect Red has its own complete cross-platform toolchain, featuring an encapper, a native compiler, an interpreter, and a linker, not depending on any third-party library, except for a Rebol2 interpreter, required during the alpha stage. Once 1.0 is reached, Red will be self-hosted. Currently, Red is still at alpha stage and 32-bit only. Red's main features are: (*) Not implemented yet. (**) Temporarily split in two binaries More information at red-lang.org. Running the Red REPL Download a GUI or CLI console binary suitable for your operating system, rename it at your convenience, then run it from shell or by double-clicking on it (Windows). You should see the following output: ---== Red 0.6.5 ==-- Type HELP for starting information. >> A simple Hello World would look like: >> print "Hello World!" Hello World! If you are on the GUI console, a GUI Hello World (prompt omitted): view [text "Hello World!"] A more sophisticated example that retrieves the last commits from this repo and displays their log messages in a scrollable list: view [ text-list data collect [ foreach event load https://api.github.com/repos/red/red/commits [ keep event/commit/message ] ] ] Note: check also the following improved version allowing you to click on a given commit log and open the commit page on github. You can now head to see and try some showcasing scripts here and there. Y...

First seen: 2025-08-31 06:43

Last seen: 2025-08-31 17:45