Re:Red programming language 0.6.2: LibRed and Macros
by taliesinb on Monday March 27, 2017 @04:57PM
(#13971709)
Where do you see a nice list of these types?
[ Parent
| on HN ]
Re:Red programming language 0.6.2: LibRed and Macros
by mapcars on Monday March 27, 2017 @05:20PM
(#13971874)
No need to go anywhere :)
>> words: keys-of system/words
>> types: collect [forall words [if datatype! = type? get/any words/1 [keep words/1]]]
>> probe types
[datatype! unset! none! logic! block! paren! string! file! url! char! integer! float! word! set-word! lit-word! get-word! refinement! issue! native! action! op! function! path! lit-path! set-path! get-path! routine! bitset! point! object! typeset! error! vector! hash! pair! percent! tuple! map! binary! time! tag! email! handle! image! event!]
Re:Red programming language 0.6.2: LibRed and Macros
by greggirwin on Monday March 27, 2017 @06:12PM
(#13972291)
Even easier:
help datatype!
Re:Red programming language 0.6.2: LibRed and Macros
by pekr on Tuesday March 28, 2017 @01:11AM
(#13974260)
It can't be that easy, or can it? :-)
Re:Red programming language 0.6.2: LibRed and Macros
by throwaway7645 on Monday March 27, 2017 @05:15PM
(#13971837)
The Red website has it somewhere, but they're focusing on the Lang and not the site at the moment, so it might be hard to find. I think the Rebol website (successor language that is mostly compatible although interpreted only) should have a lot of those.
Re:Red programming language 0.6.2: LibRed and Macros
by JadeNB on Tuesday March 28, 2017 @10:00PM
(#13982689)
> I think the Rebol website (successor language that is mostly compatible although interpreted only) ….
I think that this is backwards; Red is inspired by Rebol, which is relatively old:
> Red is a computer programming language. Red was made to overcome the limitations of the programming language Rebol.
(https://en.wikipedia.org/wiki/Red_(programming_language) ).