2 ms·
Seems a bit like Tcl, which lets you create your own control structures like that.
by davidw 1y ago
Seems a bit like Tcl, which lets you create your own control structures like that.
- pwg 1y agoOr redefine the language provided 'if' statement, in the case that one wanted to do so.
- middayc 1y agoYou can't really redefine if because everything is a constant, but you can define if in your own context yes.
- cmacleod4 1y agoIn Tcl you can redefine "if", or even delete it entirely if you're crazy enough :-)
- middayc 1y agoYou can't delete word binding in Rye. I will have to add some solution just for REPL, because sometimes you instantiate something and make a bug and need to reiterate, but in the language itself no.
- middayc 1y agoI don't know a lot about Tcl, but one thing I know is said for it "everything is a string". In REBOL's it's somewaht reverse as all this live code are REBOL (Rye) values and REBOL (and Rye) have an unusual number of datatypes, REBOL 30+ (many literal types), which it uses as additional information for functions to work with, and is usefull at creating dialects For example file-path, url and email address are distinct types in REBOL where in mosta languages are just strings.