REBOL is a simple yet powerful programming language that allows developers to quickly build applications. It has several advantages including being small in size, not requiring many files or configurations, and being very easy to learn and use. Some key things that can be done with just a few lines of REBOL code include creating graphical user interfaces, downloading and parsing web pages, and networking tasks like port scanning. The document discusses both strengths and weaknesses of REBOL, and encourages programmers to try it for its simplicity and flexibility.
28. When It Comes
to Programming,
Are You A
REBEL? [`rebl]
Stand up for Simplicity
and Flexibility, Against Software
Complexity and Software
Obesity , and Want to
Program with Fun.
Hay! You Got to Try Java
!!!
29. R E B O L S T A N D S
F O R E X A B A
L P S J N
A R E E G
T E D C U
I S T A
V S G
E I E
O
N
30. As A Java Programmer,
You Know Objects Already.
34. 3 Ways to Run REBOL Scripts
REBOL
REBOL REBOL Script
Script Script
REBOL REBOL
REBOL Interpreter
interactive
Interpreter
Interpreter
Operating System
35. Portable Scripts
REBOL Script
REBOL Interpreter REBOL Interpreter
Operating System Operating System
36. All In One, One For All
Windowing
Drawing
Networking
Database Accessing
Web Browser Plug-In
External Lib Interface
37. Data Types You Can Imagine
datatype value >> ? 1
1 is an integer
Int! 1
>> ? 3.1416
Decimal! 3.1416 3.1416 is a decimal
Char! #"A" >> ? #"A"
Logic! True #"A" is a char
>> ? True
String! "ABC" TRUE is a logic of value: true
>> Type? "ABC"
== string!
38. Data Types You Cannot Imagine
datatypeURL value
Email! jerry@abc.com
Percent! 32%
Tag! <IMG>
Date! 2009-7-21
Time! 18:00
File! %gdi32.dll
Tuple! 127.0.0.1
URL! http://www.abc.com/
. . . More . . .
39. REBOL Data Types (& Type Sets)
Char!
Scalar
Any-String
Number
Series Any-Type Any-Word
Any-Block Any-Function
40. // Pseudo-Code REBOL[]
// Include This and That View Layout [
// Declare This and That Title "Hello"
Btn "OK" [
// ... Quit
Class MyApp { ]
MyApp () { ]
// …
}
void action() {
System.quit();
}
void layout() {
Label title = new Label("Hello")
Button btn = new Button("OK");
btn.Click = action;
Window win = new Window();
win.add(btn);
win.add(btn);
win.show();
}