Question

I've compiled scripts in Red before, but once I've been away from it for a while, I forget. I thought I'd ask the question here because I'm sure I'm not the only one.

How does one compile a script in the Red programming language?

I've searched my Red distribution folder in the "Docs" directory, and also looked on http://red-lang.org, but didn't see the instructions. I know I've seen it somewhere before, but I can't seem to find it.

Was it helpful?

Solution

So basically, thanks to @Blender, the information is available at https://github.com/dockimbel/Red.

I knew I saw the information before, but I couldn't remember where. I checked the "Docs" folder in the Red distribution, but that didn't have the information there (might be handy to add it).

  1. Start the Rebol interpreter in the folder where the Red files and folders are stored.
  2. For Red: >> do/args %red.r "%red/tests/console.red"
  3. For Red/System: do/args %rsc.r "%tests/hello.reds"

See the link for more detailed instructions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top