4 ms·
I thought the secret sauce for Rebol was that the syntax is so flexible that you can express things like email addresses etc. as seeming “literals”. I.e. you do
by avgcorrection 3y ago
I thought the secret sauce for Rebol was that the syntax is so flexible that you can express things like email addresses etc. as seeming “literals”. I.e. you don’t have to wrap everything in strings (and enums and).
- nerdponx 3y agoI thought the trick with Rebol is that it's "stringly-typed" like Tcl, so you can invent whatever syntax you want because it's all just strings anyway.
- bradrn 3y agoNo, Rebol is not stringly-typed at all. Quite the opposite — like I said, it relies on having a large range of built-in datatypes.
- nerdponx 3y agoThanks for clarifying. Any tips for getting started with it myself? It seems very different from other languages.
- bradrn 3y agoI’m only a novice myself, really. Rebol and descendants tend to have little documentation, but poking around the websites [0] [1] should be enough to get started. [0] http://www.rebol.com/docs.html http://www.rebol.com/docs.html [1] https://www.red-lang.org/p/documentation.html https://www.red-lang.org/p/documentation.html (NB. Red is a descendant of Rebol; they’re not the same, especially with more advanced features, but they’re still similar enough that the documentation transfers over easily.)
- bradrn 3y agoYes, that’s the approach it takes — having an unusually large range of literal syntax. That’s different to what Perun2 seems to do, but it’s still ‘similar in spirit’ like I said.