Red/System Reaches Beta, Loads Syllable Shared Libraries

Red is a new programming language inspired by REBOL, but compiled and open source. The language is currently being bootstrapped by first implementing a lower level dialect, in which the high level, dynamic language will be written. This C class dialect for systems programming, Red/System, has reached beta status after only half a year of development. It now supports using dynamic libraries on Syllable. Also, a new version of Syllable Desktop’s FTP client, Transferrer, was released (screenshot accessing Syllable Server).

To support loading dynamic libraries on Syllable and Linux, the generator for the Red/System ELF backend needed to be extended. The Syllable project has already contributed two library bindings to the Red project: an almost complete binding with the standard C library at the ANSI C level, and a high performance binding for the ZeroMQ messaging system. These libraries can now be used from Red/System programs, providing good coverage for basic programming needs and advanced communication programming. A network server and its messaging client are quite easy.

The Red/System compiler is currently written in REBOL 2, until it will be rewritten in Red. Initially, it required the graphical REBOL/View version of REBOL, but it has been freed from that dependency, so REBOL/Core is now sufficient. The result is that the compiler can now run on Syllable Server and on Solaris Sparc. Generic x86 Linux, FreeBSD, OpenBSD, Mac (Intel and PowerPC) and Windows were already supported. Red/System programs can currently be compiled for Syllable Desktop, Linux (and thus Syllable Server) and Windows. Experimental programs have already been compiled for x86 FreeBSD and for a new code generator for ARM processors. A backend for OS X’s Mach-O executable format is also in the works. Installation instructions are here.

Cross-compiling is trivially easy with Red. For example, the canonical demo program can be compiled for Syllable Desktop on Syllable Server or any of the other supported platforms like this:

rebol -s rsc.r -t Syllable %/path/to/tests/hello.reds

You can cross-compile a Windows program from Syllable Server or any of the other supported platforms like this:

rebol -s rsc.r -t MSDOS %/path/to/tests/hello.reds


  1. 2011-07-05 6:28 pm
  2. 2011-07-05 6:55 pm
    • 2011-07-05 8:18 pm
      • 2011-07-05 8:38 pm
        • 2011-07-06 1:04 pm
          • 2011-07-06 10:15 pm
          • 2011-07-07 9:35 am
    • 2011-07-06 1:05 pm
  3. 2011-07-06 12:54 pm
  4. 2011-07-06 3:01 pm
    • 2011-07-06 3:44 pm
      • 2011-07-06 5:33 pm
      • 2011-07-07 4:56 am
    • 2011-07-07 10:09 am
      • 2011-07-07 7:30 pm
    • 2011-07-07 5:52 pm
      • 2011-07-07 7:01 pm
      • 2011-07-09 12:24 pm
        • 2011-07-09 1:22 pm
        • 2011-07-09 5:44 pm
          • 2011-07-09 6:48 pm
          • 2011-07-10 6:39 pm
          • 2011-07-10 7:20 pm
          • 2011-07-10 10:24 pm
          • 2011-07-10 10:32 pm