Home   Archive   Permalink



programming newbie, need help

Hello,
So I am trying to learn rebol3 and linux together at same time.
So far, I did ran rebol3 on terminal on ubuntu.
I am trying to follow up the old rebol guides, but it seems its written based on windows and old rebol version.
So, my question is how do I run multiple lines of codes through terminal? (to practice random coding examples that were shown on tutorials)
    
\ doesn't work once rebol is running
    
I feel like I need text app to write script and run on rebol 3, but I couldn't find any step by step guide.
    
Any helps will be appreciated.


posted by:   Han       8-Sep-2017/9:57:38-7:00



I don't know if ren-c has line continuations like rebol2. Best is to use an editor, copy it to the clipboard, and then evaluate the clipboard.
    
eg: do read clipboard://

posted by:   Graham       8-Sep-2017/22:54:25-7:00



There are line continuations in Ren-C.
    
The REPL is itself written in Rebol, and the way it works is to try and load the code...but if it gets an unmatched delimiter error that is the kind that indicates a match may come along later, it lets you keep typing:
    
https://github.com/metaeducation/ren-c/blob/e6718d6e36fdc11dfaba586dd4920d906cce0b40/src/os/host-console.r#L236
    
The console is "skinnable" due to some work by @draegtun:
    
https://github.com/r3n/reboldocs/wiki/User-and-Console
    
The Ren-C branch is under heavy development. R3-Alpha has no known active development.
    
Red has line continuations also, and is a good place to learn Rebol-like lore, as they have a lot of time for bringing new users up to speed on the language. :-P
    
https://gitter.im/red/home

posted by:   Fork       8-Sep-2017/23:37:41-7:00



Graham and Fork
Thank you for replies and helpful infos


posted by:   Han       14-Sep-2017/9:36:38-7:00



Name:


Message:


Type the reverse of this captcha text: "l i a m e - t r o p m i"



Home