Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
TODAY'S NEWS
Kill switches coming to iPhone, Android, Windows devices in 2015
Still deploying 11n Wi-Fi?  You might want to think again
9 Things You Need to Know Before You Store Data in the Cloud
Can Heartbleed be used in DDoS attacks?
Linksys WRT1900AC Wi-Fi router: Faster than anything we've tested
Heartbleed bug is irritating McAfee, Symantec, Kaspersky Lab
10 Hot Hadoop Startups to Watch
Server makers rushing out Heartbleed patches
Fortinet, McAfee, Trend Micro, Bitdefender battle in socially-engineered malware prevention test
Net neutrality ruling complicates US transition to IP networks
6 Social Media Mistakes That Will Kill Your Career
Canonical's new Ubuntu focuses on the long haul
4 Qualities to Look for in a Data Scientist
Big bucks going to universities to solve pressing cybersecurity issues
Mozilla appoints former marketing head to interim CEO
Box patches Heartbleed flaw in its cloud storage systems
Obama administration backs disclosing software vulnerabilities in most cases
6 Amazing Advances in Cloud Technology
Collaboration 2.0: Old meets new
Data breaches nail more US Internet users, regulation support rises
With a Wi-Fi cloud service, Ruckus aims to help hotspot owners make money
How to get Windows Phone 8.1 today
Secure browsers offer alternatives to Chrome, IE and Firefox
10 Big Data startups to watch
/

Rebol with a context

Today's breaking news
Send to a friendFeedback


A few weeks ago, Gearhead took a look at a cool language called Python (NW, June 14, page 44). It seems from your comments that languages are a hot topic, particularly languages that are good for quick fixes.

Gearhead now offers up another language for your consideration: Rebol, a free interpreted scripting language from Rebol Technologies.

Rebol (pronounced "rebel") is a remarkable language: It is small (the run-time interpreter is a skinny 159K bytes under Windows), pretty fast, easy to learn, sophisticated, amazingly powerful and available on - get this -17 operating systems covering 32 combinations of operating systems and hardware!

This support makes Rebol the most widely available cross-platform language, including all flavors of Windows, BSD variants, Linux, OS/400, AIX, Macintosh, Solaris and PalmOS. Fifteen more platforms are pending, but not NetWare - all you NetWare devotees should hassle the company immediately.

Even more amazing is that Rebol Technologies claims applications are completely portable between platforms without modification. Gearhead talked with Carl Sassenrath, Rebol's creator and the company's founder and CEO, about the language and the company's plans.

Sassenrath is excited about Rebol's market and is adamant that Rebol Technologies is in it for the long haul to build a strong market and company.

Rebol is the result of Sassenrath's 20 years of language experience with the likes of Hewlett-Packard. The language is designed, he says, for "programming in the small" - giving programmers the ability to hack effective tools as easily as possible.

Although Sassenrath hasn't made the source of the Rebol interpreter available, he points out that every other aspect of the language is open.

This is part of the company's strategy to create an environment in which developers will share code and information and create a market buzz that popularizes the language. Indeed, the company has no immediate plans to produce a compiler that would allow developers to hide their coding.

When you download Rebol, you'll find the run-time executable and a handful of scripts and documentation in an archive. The documentation is sparse (Sassenrath admits: "The documentation is horrible and I apologize profusely . . . we're rewriting it."), but there is more than enough to get you started. And the Rebol Web site has some good tutorial material. The site also features a collection of scripts written by Rebol users and the company that will help get you going.

The company describes Rebol as "The Internet Messaging Language," which only begins to cover the scope of what it can do. There's built-in support for HTTP, FTP, SMTP, POP, NNTP, Finger and daytime protocols, and there's support for adding any TCP protocol required (although that documentation is missing at present).

There's a security model to control the level of access Rebol scripts have to the local file system and TCP sockets, and a rich set of data types, including URLs, money, times, dates, numbers, strings, words and lists.

So what is Rebol like to program with? Well, pretty amazing, as it offers simple constructs for doing complex things. For example:

print read http://www.nwfusion.com/columnists/gearhead.html

This script reads the given URL and prints its contents. Want to send the URL contents to someone? Try:

send <mailto:you@yourdomain.com>you@yourdomain.com read
<http://www.nwfusion.com/columnists/gearhead.html/>
http://www.nwfusion.com/columnists/gearhead.html/

How about running a Rebol script that's on an FTP server? Voila!

do ftp://ftp.site.com/scripts/test.r

Rebol can also be extended with "dialects" - sort of like defining functions that become part of the language. This allows you to write code that is context-specific. This is another area in which documentation is sparse, but the concept is exciting.

Check out Rebol and tell Gearhead your thoughts at gh@gibbs.com.

RELATED LINKS


NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.