As we are getting closer to the end of the alpha period, we are now moving to a more convenient way to use and distribute the Red toolchain. So far, you needed to download a Rebol interpreter and the sources from Github separately, and run it using, a bit verbose, command-lines. This is fine for developping Red with contributors that are interested in the inner workings of the toolchain, but for the end users, the goal has always been to provide a simpler and much more convenient way, like Rebol teached us in the past.
So, from now, you can get Red as a single binary (< 1 MB) from the new Download page. Yes, all of Red toolchain and runtime is packed in that small binary, even the REPL is built-in!
The Red repo landing page has been reworked to show Red usage in binary form, all previous command-line options are present, a new one (
-c) has been introduced. Here is a short overview of the main options:
Launch the REPL:
Run a Red script directly (interpreted):
$ red <script>
Compile a script as executable with default name in working path:
$ red -c <script>
Compile a script as shared library with default name in working path:
$ red -dlib <script>
Compile a script as executable with alternative name:
$ red -o <new> <script>
Compile a script as executable with default name in other folder:
$ red -o <path/> <script>
Compile a script as executable with new name in other folder:
$ red -o <path/new> <script>
Cross-compile to another platform:
$ red -t Windows <script>
Display a description of all possible options:
$ red -h
-c option is implied when
-t are used. It is designed to keep command-lines as simple and short as possible.
Moreover, for standalone Red/System programs, the Red binary will be able to compile them directly, no special option needed, they will be recognized automatically.
Thanks very much to Tamás Herman for helping with setting up the build farm and providing the Mac OSX machine, and thanks to the HackJam hackerspace group from Hong-Kong for the hosting!
As we are moving closer to the beta state, version numbers will increase faster, e.g., once objects will be done, the release will be the 0.5.0, while 0.6.0 will bring full I/O support. Between these major versions, smaller versions should be still possible, this means that the release cycle should accelerate with at least one release each month from now on. So, what you should expect in the next ones’