2. Who invented it? Carl Sassenrath, The REBOL Creator He worked for: And created Amiga:
3. Disadvantages On the rigid head, this language a bit awkward Totally different, and new. The core code is not open source Lack of good documentation Few users
16. view layout [ u: field "user@rebol.com" h: field "http://" btn "Send" [ send to-email u/text read to-url h/text alert "Sent" ] ] Open window, read the web page and send it by email
17. foreach file load %./ [ if not dir? file [ write/binary join ftp://user:pass@example.com/ file read/binary file ] ] Upload all files via FTP
18. repeat n 100 [ if not error? try [ close open probe join tcp://localhost: n ] [ print [n "is open"] ] ] TCP port scan
19. page: remove-each tag load/markup http://www.rebol.com [ tag? Tag ] write %page.txt page Transform a web page in a simple text file (without tags!)
20. view layout [ origin 0 t: h1 red black (to string! now/time) rate 1 feel [ engage: [ t/text: now/time show t ] ] ] Digital clock
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 E L A T I V E X P R E S S I O N A S E D B J E C T A N G U A G E S T A N D S F O R E
30. As A Java Programmer, You Know Objects Already.
42. Rebol Has Every Data Types You Can Imagine... datatype value Int! 1 Decimal! 3.1416 Char! #"A" Logic! True String! "ABC" >> ? 1 1 is an integer >> ? 3.1416 3.1416 is a decimal >> ? #"A" #"A" is a char >> ? True TRUE is a logic of value: true >> Type? "ABC" == string!
43. ...And Data Types You Can't Imagine datatypeURL value Email! [email_address] 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 . . .
44. Java // Pseudo-Code // Include This and That // Declare This and That // ... 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(); } } Vs Rebol do the same of Java with only 5 lines of codes instead of hundreds!!! REBOL REBOL[] View Layout [ Title "Hello" Btn "OK" [ Quit ] ] The Magic Of Dialects