4 ms·
Rebol (http://rebol.com/ http://rebol.com/) and Red (http://red-lang.org/ http://red-lang.org/) may be considered "proper" (i.e., production-ready) programming
by networked 12y ago
Rebol (http://rebol.com/ http://rebol.com/) and Red (http://red-lang.org/ http://red-lang.org/) may be considered "proper" (i.e., production-ready) programming languages derived from Logo. They share a good chunk of its parentheses-optional syntax.
Example code (taken from http://www.rebol.net/cookbook/recipes/0004.html http://www.rebol.net/cookbook/recipes/0004.html):
foreach file read %./ [
if find [%.txt %.text] suffix? file [
write file replace/all read file "web" "rebol"
]
]
The same with parentheses:
(foreach file (read %./) [
(if (find [%.txt %.text] (suffix? file)) [
(write file (replace/all (read file) "web" "rebol"))
])
])
- networked 12y agoI should correct what I wrote above: Red is not yet production-ready but it aspires to be a more modern, open source alternative to Rebol 2 for use in production. (Rebol 2 is now closed-source freeware; it used to cost a lot of money and be marketed towards the enterprise.)