IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Anybody ever played with REBOL?
Saw it mentioned [link|http://www.alistapart.com/stories/simplecontentmanagement/|here]. Took a look at the site [link|http://www.rebol.com/|here]. Then checked out the language overview [link|http://www.rebol.com/docs/rebolintro.html|here]. Sample:
Perhaps you want to upload only the JPEG files from that directory. Check the file names using find as was shown in the previous section:
foreach file read %thefiles/ [
   if find file ".jpg" [
      write/binary site/:file read/binary file
   ]
]

To upload all the GIF and JPEG files you can write:
foreach file read %thefiles/ [
   if any [
      find file ".jpg"
      find file ".gif"
   ] [
      write/binary site/:file read/binary file
   ]
]

Now, let's say you want to upload only the files that have changed in the last two days:
date: now - 2
foreach file read %thefiles/ [
   if (modified? file) > date [
      write/binary site/:file read/binary file
   ]
]

The do function downloads script and runs it. To run it with FTP you can write:
do [link|ftp://www.rebol.com/pub/gel.r|ftp://www.rebol.com/pub/gel.r]

You now have a better idea of how REBOL "scripts the Internet". As a final example, we combine the image button with with the do example.
view layout [
   backcolor white
   image [link|http://www.rebol.com/graphics/link.jpg|http://www.rebol.co...ics/link.jpg] [
      do [link|http://www.reboltech.com/library/scripts/rim.r|http://www.reboltec...cripts/rim.r]
   ]
]

The syntax looks crystal clear, and it is allows dirt-simple web services. Any two sites using it can run scripts on each other's sites. Don't know about security issues, but for eas-of-use it's pretty impressive.
===
Microsoft offers them the one thing most business people will pay any price for - the ability to say "we had no choice - everyone's doing it that way." -- [link|http://z.iwethey.org/forums/render/content/show?contentid=38978|Andrew Grygus]
New It's a Lisp/Scheme derivative...
..but it's missing all those nice parenthesis that help readibility. :-)

The two knocks I've heard on the language are (1). It's proprietary; and (2). It's a dedicated language geared towards a certain library - the language makes certain things easier - such as internet communication - at the expense of being a more general purpose language.

I played with it for the [link|http://www.angelfire.com/tx4/cus/shapes/rebol.html|OO Shapes] example a while back. Can't say that I was particularly impressed with the OO facilities, but that's not particularly the point of the language.
     Anybody ever played with REBOL? - (drewk) - (1)
         It's a Lisp/Scheme derivative... - (ChrisR)

MY SUGGESTIONS ARE THE RESULT OF COUNTLESS NANOSECONDS OF COGITATION! HOW DARE YOU REJECT THEM?!?
36 ms