Red is a new 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.
Main characteristics are:
The Red toolchain comes as a single executable file that you can download from here for the big-3 platforms.
Put the downloaded red binary in the working folder.
In a code or text editor, write the following Hello World program:
Red [
Title: "Simple hello world script"
]
print "Hello World!"
Save it under the name: hello.red
From a terminal (or CMD on Windows), run it with:
$ ./red hello.red
You should see the Hello World! output.
Want to generate a compiled executable from that program?
$ ./red -c hello.red
$ ./hello
Want to cross-compile to another supported platform?
$ ./red -t Windows hello.red
$ ./red -t Darwin hello.red
$ ./red -t Linux-ARM hello.red
↓ Windows ↓ GNU/Linux ↓ Mac OS X
↓ Windows ↓ GNU/Linux ↓ Mac OS X
For Linux 64-bit distros, you need to install 32-bit supporting libraries.
If you are using a Debian 7+ or Ubuntu 13.10+ version, you should use libcurl3 with multiarch:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libcurl3:i386
If you are using an Ubuntu 18.04+ version, you should use libcurl4 with multiarch:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libcurl4:i386
For Fedora/Redhat/Centos distros:
sudo yum install glibc.i686
sudo yum install libcurl.i686
For FreeBSD, no prebuilt binaries yet, you need to cross-compile, or get the Red sources, a Rebol interpreter (here) and a couple packages: libcrypto.so.8, which can be found in the openssl package, and libcurl.so.4 (temporary dependency):
pkg install openssl
pkg install fpc-libcurl-3.0.2
For ArchLinux (Manjaro included), there is a Red package here. Or you can run above Linux binary after installing 32-bit support with:
pacman -S lib32-curl
There is a lot to do on a project like this, so all people willing to help are welcome. The project is at its Alpha stage of development, there may be breaking changes.
If you want to contribute at the source code level:
If you want to contribute, contact us through one of the preferred ways listed above.