3 ms·
This site should really have some code examples on the main pages. I shouldn't have to watch videos to get a basic idea of the syntax and what it can do. The bl
by ajkjk 12y ago
This site should really have some code examples on the main pages. I shouldn't have to watch videos to get a basic idea of the syntax and what it can do. The blog on the front has some code, but it's not geared towards explaining the basic ideas.
- dockimbel 12y agoRed's author here. I agree and I apology for the currently poor web site. It was built for the Red and Rebol crowd to help them follow us while we are building Red. As we are getting closer to a beta version, we are planning to move in the next couple of months to a brand new site that will properly communicate about Red to newcomers. About the syntax and semantics, in a nutshell, it's a Lisp without parentheses and with infix operator support. Tokens are separated by a whitespace or a delimiter (very few of them). Code is a tree of lists (called "blocks" in our local jargon), blocks are delimited by square brackets []. You can have a look here [1] for a larger code and syntax example. [1] https://github.com/red/red/blob/master/red.r https://github.com/red/red/blob/master/red.r