This project serves a fourfold purpose:
-
A fresh take on all the seven challenges, without peeking into existing solutions;
-
A baseline for comparison of Red’s approach to GUI programming with other mainstream toolkits;
-
Evaluation of VID dialect and View engine, search for their potential improvements;
-
Testbed for GUI backends supported by View.
Other known implementations:
All the 7 challenges are completed and clock under 270 lines of code, barring script headers.
The project was tested on all supported View backends with Red 32f10e8
; the following issues were found:
Backend | Task | Issue |
---|---|---|
Cocoa |
Progress bar is not updated. |
|
Cocoa |
Spreadsheet cells are unresponsive. |
|
GTK |
Some critical assertions are failing inside the GTK library. |
|
GTK |
Evaluation of self-referential formulas hangs the application. |
- Tasks
-
Solutions to 7GUIs challenges; files are named after a task they implement.
-
Clone project’s repository.
-
Setup the Red toolchain by downloading the automated build from the official website.
-
Having toolchain binary and this repository in place, check out the implemented tasks:
-
with
red <filename>
from system shell; -
from the interpreter (
do %<filename>
orFile > Run…
in Red console); -
or via compilation for your platform of choice (see
red --help
for details).
-
Alternatively, Red console and 7GUIs tasks can be built from sources.
The project is released under 3-clause BSD license.