Hacker News new | past | comments | ask | show | jobs | submit login

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.



Red'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


Good to see you have serious plans for this language. I was always interested in Rebol, but never became any 'good' at it --- although I always like to read updates about it and its forks.


Awesome, thanks.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: