Hacker News new | ask | show | jobs
by 9214 2997 days ago
If you know C - all it takes to start with R/S is to read language specs [1]. What specific problems do you have with compilation?

[1] : https://static.red-lang.org/red-system-specs.html

1 comments

Just compiling the file. That's what I'm having trouble with. Is it the same method as normal Red scripts? Is there a compiler flag I need, or just the opening Red/System [] in the source? That's the part that is rough for me. Just a simple Red/System vs Red hello world (including compiler instructions) would be of great help.
Uhm...

Red:

    Red []
    print "hello world"
Red/System:

    Red/System []
    print "hello world"
Both are compiled with ./red -c file. "Rough", you say?