문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top