soapdog / Rebol3

Source code for the Rebol [R3] interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rebol CI Build Rebol Gitter Chocolatey

Rebol [R3] Source Code Distribution

Purpose of this Rebol fork is to push the origial Carl's source to be usable at least like Rebol 2, but keep the source code clean and project easy to build. Use CHANGES.md file to see changes made in this branch.

Issues reporting

Preferred way for issue reporting is using dedicated issue repository. It's a fork of the original Rebol issue repository, which was filled with issues from CureCode issue tracker, which was used before Rebol was on Github. I'm not using the original Rebol issue repository, because I was not allowed to even add labels to my own issues. It was later moved under Metaeducation account and is used for Ren-C development anyway.

Precompiled binaries

There are available precompiled binaries for each release. So far there are 3 main build types:

  1. Base is a build with minimal additions (not much useful)
  2. Core includes a little bit more stuff than the Base
  3. Bulk is a build which includes almost everything.

And there is also the Host exe and the DLL - the Rebol library is separated and used from the host application. That is from times before open sourcing Rebol completely. Only host part was open and the library was still closed. In theory you can have one library and many tiny host applications. I'm building just the Core on Windows so far to see, if it is still working.

Building Rebol

Rebol itself is not a compiler (like Red language) but just an interpreter. You must have some compiler of your choice to compile Rebol. For Windows you may want to use any of these:

  1. Microsoft Visual Studio
  2. CLANG
  3. GCC (Mingw)

Once you have any of these compilers, you must use Siskin Builder tool, which is actually a customised Rebol needed to preprocess it's own sources. It deserves own documentation as it's not mean to be used only to build Rebol. Meanwhile you may take a look at the source of the Github workflow file for building all Rebol variants used in the releases.

For a local use, you just do: siskin <SOME-NEST-FILE>, which starts CLI in an interactive mode.

The Siskin builder itself may be used as an example, how to build a custom utility based on Rebol sources. The specification is defined in this *.nest file, where important is CUSTOM_STARTUP define and some files, which should be included and some optional Rebol parts if needed.

Screenshots

Building a customized CLI application using compile DSL:

Other Rebol related projects

If you are looking for other Rebol like languages, you may want to check also:

  • Arturo language written in Nim
  • Boron language written in C
  • Red language written in Red bootstrapped from Rebol2
  • Red.js web runtime for Red written in Haxe
  • Ren-C another living Rebol3 fork
  • Rye language written in Go
  • Topaz experimental Rebol like language being compiled to JS
  • World language written in C

There is also Shinxin's fork, which I was initially using for chery-picking, as it contains modifications from Atronix and Saphirion. But its use is now limited as it depends on non-public modules and also there is not much life visible recently.

About

Source code for the Rebol [R3] interpreter

License:Apache License 2.0


Languages

Language:C 76.1%Language:Rebol 22.4%Language:C++ 1.0%Language:Makefile 0.4%Language:Objective-C 0.1%Language:HTML 0.0%