LiveCode is a new language created by the RunRev company. The idea was to create a simple high level languages and cross-platform. At the present the same code run on Windows, Linux, MaxOS, Android and iOS.
Initially Livecode name was "Revolution Runtime" and the logo was this:
Did you notice how was similar to the rebol one here?
Initially LiveCode was closed source and very expensive (about $500 to use it). Fortunately RunRev company accepted community request to make it open source and raised a kickstarter campaign to reach $ 500'000. They reached over $ 750'000 and one moth ago a free opensource version was released.
You may download it from http://livecode.com/download/
I'll show you LiveCode below in the post, but my first impression is that RunRev knows Rebol very well and assimilated all main values of it improving them, creating a more web 2.0 language. They offer support, hosting, a free forum (based on PHPbb), youtube videos. Even the LiveCode source is made in C and objectiveC like Rebol. Some commands and syntax remember Rebol way (do, first, second, last, compress, try, ask, sort, foreach, ...) .
First of all the download is about 50 times bigger than Rebol, because it includes IDE, a PDF guide, a sort of script market, encapper and many other features. Let's see the following video example:
In order to compare LiveCode, I tried to reproduce the same advanced rebol script in Livecode. It was hard, since LiveCode programming way is very different from Rebol way. Even if they both share a similar syntax, the main difference is LiveCode force you to use its IDE, LiveCode IDE doesn't produce a script file totally intelligible, it produces a single text file that is a mix of binary and text, but you must use LiveCode IDE to edit it, otherwise it will be corrupted; on the other hand your personal code is mantained as is, so you can easily recover it with copy and paste. The text part is what you add as your code, the binary part is all the GUI elements with their properties.
So using rebol you use just your keyboard to write your script, test it, rewrite your script; using LiveCode you use mouse and keyboard, navigate through IDE tab panels, but you see immediately the result.
Another important difference are variables scope, it can be as rebol, but a good practice is to associate always to a graphic element, otherwise debugging can be an hell.
Most important of all is that the scripts code can be (quite only) inside any GUI element, so can be difficult to inspect all the code at glance. On the other hand productivity on "hostile environments" such as Android or iOS (iPhone and iPad) becomes matter of minutes.
Let's see some code examples:
as you can see Rebol is more concise than LiveCode
LiveCode doesn't have simple object, but every GUI elements has properties like Rebol Object.
LiveCode is an high level language very similar to Rebol, here the results for the same purpose:
In Rebol I had to write about 333 lines of code, in LiveCode I had to write about 76 lines for the same result.
The strengths of LiveCode are:
- large audience (LiveCode users now are about 62'000, while Rebol users are just 42)
- open source
- fully supported on every OS (mobile included)
- very GUI oriented
- Web 2.0 developers
- very high level languag
Here are the LiveCode lacks:
- binary format of source script (even if they are in part intelligible)
- syntax too long (sometime you'll regret Rebol refinemets)
If you are looking for a Rebol well supported replacement, you should try LiveCode.