Red Programming Language: 0.6.0: Red GUI System
red-lang.org
red-lang.org
I have suspected that a well-enough designed programming language could subsume many programming tasks that are currently different languages or data formats. There are so many. It looks like Red is attempting to tackle that problem directly - I'm curious what headway can be made.
If we're talking about Amiga almuni projects, DragonFlyBSD seems to be the healthier one.
For latest community development see Ren/C - https://github.com/metaeducation/ren-c
For latest bugs/sugs see - https://github.com/rebol/rebol-issues
I've never heard it referenced in connection to Amiga. How is it related?
I've never used it, but supposedly several DragonFly features were inspired by AmigaOS.
Coming up next -> https://trello.com/c/11bblhBn/133-0-6-1-android-gui-support
Come chat @ https://gitter.im/red/red
EDIT: just went to this page, that's some crazy stuff with very little coding, never heard of Red or REBOL before, what language paradigm is that?
http://easiestprogramminglanguage.com/easiest_programming_la...
Alas, they dropped the GUI when K3 came out; the most recent available version K4 is ~400K without GUI, and the next version KPARC is a complete OS (boots on metal) with GUI, file system, database and everything at less than 1MB
The syntax is intuitive to some people, especially those named Arthur Whitney or using the nickname geocar (but I also find it intuitive); most others tend to disagree about how intuitive it is.
Its homepage was updated, I believe, last week: http://www.picolisp.com
Red/Rebol allows for very clean (subjective term!), short and concise code, which allows for easy long term maintenance and also leads to more work done in less amount of time.
The syntax is a big deviation than the imperative C-Style languages people are used to. But if you ask me, then well, it is for the good.
Heck, now that you say that, I think I agree, intuitively, though did not think of it before (and I've been checking out Red lately, and Rebol some time earlier). (Used Logo as a kid.) I'll have to analyze why. Interesting observation.
Also, Rebol is mentioned as a (readable) data format, here:
Is there any truth to this? Whatever the case, I will learn Red eventually. It looks really awesome. The project has ambitious goals and seems to be achieving them at a good pace.
Although my personal opinion is that it is a good time to jump into Red because it is expected that Red 1.0 release date near about 1 year. So, learning Red, and finding bugs in it is gonna help you and both the project to advance further quickly and get ready for prime time action.
I am really glad you like Red. It is already useful as it is now. Check the Red room on Gitter (sorry, I am on phone now, so no link), there is lot of people willing to help you.
Red works also pretty neat with Wine. Just the shell cursor is not in sync with the input (usually one char ahead).
Is there way to run a GUI script without the shell popping up? Compilation of a script takes many seconds. Is that normal? Is there a FFI?
Compilation takes a long time currently. It is normal. Fast Compilation Times are an objective for 0.6.5 release.
For FFI, see http://static.red-lang.org/red-system-specs.html#section-15....
As for `Is there way to run a GUI script without the shell popping up?` , IDK. So better ask it at the gitter chat room.
What I found mostly interesting with the post (other than playing with the GUI examples after downloading the current build), is that they announce full I/O and networking support will be in 0.7!
Honestly, this looks like a mess and I don't understand the purpose of it if it's meant to be used by real users. Why would anyone prefer this?
And yes, Rebol like syntax might feel kind of weird, when coming from other environments. But it is clean, unnecessary punctuation free, and once used to, very obvious and productive.
As for GUIs, Rebol featured custom one, Red uses binding to native widgets. Both aproaches have their advantages/disadvantages. You can bet, it will improve and I am the one, who would like to see "Metro" supported as far as Windows is concerned ....
Furthermore, don't get confused between styling and layout. The code is focused on layout, the styling can look just as modern as any other GUI framework.
Lastly, as to why anyone would use Red, it enables you to create full graphical apps in a small amount of code, and is designed to be compact (runtime under 1MB) and fast (native compilation). Once you get familiar with the syntax (which is easily done by reading a short tutorial) then you have quite a powerful tool at your disposal.
Plenty of languages with familiar looking syntax which are horribly complicated. E.g. like C++ ;-)
Yeah, sort of like your comment is yet another comment to add onto the other hundreds of them (and us all here on HN are just yet another 10-20.000 humans to add to the other billions on earth).
>it can make GUIs that are Windows 7 era sort of
Because its GUI bindings is where a language is truly evaluated from...
>Honestly, this looks like a mess and I don't understand the purpose of it if it's meant to be used by real users. Why would anyone prefer this?
Based on Rebol, a very high level language, with extremely powerful DSLs (and easy to do DSL's in), with first class support for lots of things as types, homoiconic, very versatile and easy to get advanced results with very little code.
I didn't mean the GUI support was the basis of evaluating it and I guess my post came off as flippant.
It wasn't clear from their site though why this language should enter the mainstream. I couldn't really glean off the site if that's even their goal or not, it was pretty technical and not very inviting.
• Rebol in Ten Steps: http://rebol.com/rebolsteps.html
• Rebol Overview: http://www.rebol.com/docs/expert-intro.html
Rebol is an elegant attempt at better using language to solve problems. It offers a rich vocabulary centered around words and includes natural representations of various types, such as URLs (that you can query), emails (that you can send messages to), times, dates and more. The main data structure (blocks) are instrumental in language flow and can be manipulated as data before being interpreted as code:
• More than just code—A Deep Lake: http://www.rebol.com/article/0103.html
It is different and it's not immediately apparent what it brings to the table. However, that it does have this depth and is squeezed into a < 1 meg package without dependencies hints at why there are a few of us that consider it tremendously versatile and worthy of a more prominent place in the development firmament.