REBOL Library REBOL

Moderate Level

Updated: 29-May-2003

Return to main library index

ConsoleIO

consoleio.r

1-Aug-2002

Console prompt output save,saves all console input to history.log file when in console mode.

2 lines

527 bytes

 
Text Size Check

text-size.r

1-Jun-2000

Compare text font sizes

6 lines

302 bytes

 
Rebol Daytime Server

daytime.r

4-Dec-2002

A simple Rebol Daytime Server, answers are sent in Rebol date format.

6 lines

549 bytes

 
Gradient Multiply

gmul.r

20-May-2000

Gradient Multiply

7 lines

355 bytes

 
Print Mailbox Subjects

mbxsubjects.r

4-Jun-1999

Prints all the mail subject lines for a Eudora mailbox file.

8 lines

599 bytes

 
Quine

quine.r

20-Nov-2001

A Rebol quine; a program which reproduces its own code.

8 lines

512 bytes

 
Input via CGI

input-cgi.r

20-Jul-1999

Get CGI input with either POST or GET

9 lines

547 bytes

 
Tiny REBOL Server

rebserver.r

11-Oct-1999

The distributed REBOL server that builds the REBOL system.

9 lines

786 bytes

 
Object Cloner

cloneobj.r

30-Jun-2000

Clone objects recursively. This way the objects inside are copies instead of references.

10 lines

656 bytes

 
Simple GradCol Example

gradcol.r

20-May-2000

Simple GradCol Example

10 lines

565 bytes

 
Web HTML Tag Extractor

websplit.r

20-May-1999

Separate the HTML tags from the body text of a document.

10 lines

452 bytes

 
Sends Email via CGI Form

cgiemailer.r

20-Jul-1999

Uses a Web form to send an email message.

13 lines

661 bytes

 
REBOL Random Password Generator

rand-pass.r

16-Jun-1999

To use the system password file to generate a random set of passwords for every user on the system.

13 lines

842 bytes

 
Demo client with telnet-protocol

telnet-client.r

6-Jul-2001

A simple telnet-client

13 lines

665 bytes

 
keyboard input sequencer

keyb.r

3-Aug-2002

a replacement for the missing keyboard input sequences table in REBOL/Core User Guide Version 2.3, Appendix C-4

13 lines

743 bytes

 
Increment and Decrement

incdec.r

24-Apr-1999

Increment and decrement a variable by one.

14 lines

462 bytes

 
Web Page Link Displayer

weblinks.r

20-May-1999

Display all of the web links found on a page.

14 lines

542 bytes

 
Decode Charset Function

decode-charset.r

23-Aug-2001

Converts 'charset values to something readable

14 lines

718 bytes

 
99 Bottles of Beer Song

beersong.r

26-Apr-1998

The correct song. A bit more advanced.

15 lines

594 bytes

 
Parse REBOL Source - Recent!

parse-code.r

29-May-2003

An example of how to parse REBOL source code.

15 lines

745 bytes

 
99 Buckets of Bits Song

geeksong.r

26-Apr-1998

The geeky version :)

15 lines

682 bytes

 
Printer

printer.r

3-Jul-2002

Sends text to printer on //prn.

15 lines

853 bytes

 
Data formatter

align.r

20-Jul-1999

Create text columns

16 lines

938 bytes

 
Throwing and Catching Named Values

catcher.r

16-Jun-1999

Throwing and catching functions.

16 lines

726 bytes

 
Do-Thru

do-thru.r

4-Jun-2000

To 'do cache scripts with args

16 lines

764 bytes

 
Email Auto-reply

mailautoreply.r

10-Sep-1999

This example confirms email received from "friends" only. All others will be ignored.

16 lines

990 bytes

 
mp3tool

mp3tool.r

15-May-2002

I have seen an ID3 reader in every language (C, Perl, Python, PHP), and decided I might as well write one for REBOL. It is very simplistic at the moment

17 lines

1217 bytes

 
Greek

greek.r

3-Jul-2002

Greek changes all upper and lower case letters to random letters, preserving their case, and changes digits to random digits as well.

17 lines

914 bytes

 
CGI Query String Decoder

cgidecode.r

21-May-1999

Parses a CGI query into a list of words and values.

18 lines

1072 bytes

 
Simple Emailer

simple-mail.r

24-Oct-1998

A simple script, which uses the e-mail capabilities of REBOL in a more user friendly way.

18 lines

1276 bytes

 
Console capture

capture.r

31-Jul-2001

Capture console output in a string!

18 lines

1019 bytes

 
VT100 Functions

vt100.r

4-Sep-1999

Examples of VT100 screen functions

19 lines

881 bytes

 
Transpose

transpose.r

3-Jul-2002

Transposes a Matrix's rows and columns.

19 lines

1016 bytes

 
Search Mailbox

mbxfind.r

4-Jun-1999

Search a Eudora mailbox file and output a file with all the messages that contain a given string.

20 lines

979 bytes

 
Diff compare

diff.r

20-Jul-1999

See the differences between two files. Only provides basic DIFF functionality. Shows lines which don't exist in other file.

21 lines

986 bytes

 
Sorting nested blocks

sort-nests.r

16-Jun-1999

Sort a block of blocks on different fields.

21 lines

922 bytes

 
Web Form Widgets

webwidget.r

20-Jul-1999

Generate HTML code quickly and easily for several form elements.

21 lines

1491 bytes

 
Email Spam Filter

despam.r

6-Jun-1999

Filters spam by removing all messages from your incoming email that were not sent directly to you. Valid email is not affected and remains on server.

22 lines

1090 bytes

 
Automatic local variables

protect-func.r

20-Jul-1999

Function generator that automatically makes local variables

22 lines

959 bytes

 
Web Banner

webbanner.r

20-Jul-1999

Generate HTML code that displays a banner and links to its destination.

22 lines

992 bytes

 
Save to Mailbox File

mailboxsave.r

10-Sep-1999

This example reads email and appends it to a standard mailbox file (which can be read by most email apps).

23 lines

1186 bytes

 
Search Mail for REBOL Scripts

mbxscripts.r

30-May-2000

Search a mailbox file (e.g. Eudora) for email messages containing REBOL scripts.

23 lines

1074 bytes

 
Word Wrap Text

wraptext.r

18-Jun-1999

Handy function to fill and wrap a text paragraph.

23 lines

701 bytes

 
Throbbing Button

throb.r

31-May-2001

To demonstrate a button that screams "CLICK ME!!" Updated from June 2000 version.

24 lines

848 bytes

 
Script

script.r

3-Jul-2002

Returns the script source code for a word.

25 lines

973 bytes

 
dir-tree

dir-tree.r

20-Jun-1999

Recursively build a rebol and human readable tree from a directory or a ftp site. Maximum depth can be set.

26 lines

1651 bytes

 
CGI Web Page Comment Poster

cgicomment.r

14-Sep-1999

Allows viewers to add comments to a web page. (needs webcomment.r to create example forms file).

27 lines

3115 bytes

 
Autoextracting REBOL file creator

autoextract.r

16-Jun-1999

Send files via email which can be decompressed simply by executing the contents of the message when it is received.

28 lines

1370 bytes

 
Delete Files by Suffix

delete-suffix.r

7-Jul-2000

Delete files based on their suffixes. Can also delete deeply through all subdirectories.

28 lines

1596 bytes

 
Deluxe Email Spam Killer

maildespam.r

10-Sep-1999

This is an example of a simple email filter that removes unwanted junk mail from your mailbox.

30 lines

1636 bytes

 
Win-offset? - Recent!

win-offset.r

20-May-2003

Patch for win-offset? and screen-offset?. Standard functions don't add edge sizes

30 lines

1121 bytes

 
Simple File Requestor

file-request.r

20-May-2000

Example of a simple file requestor.

34 lines

1392 bytes

 
Calculator

calculator.r

2-Apr-2001

Simple numeric calculator.

34 lines

1276 bytes

 
Mini-Calculator

mini-calc.r

6-Mar-2002

Tiny calculator example.

34 lines

1145 bytes

 
REBOL Ale

beer.r

30-Oct-1998

A rich, malty, copper brew.

35 lines

1177 bytes

 
Image Viewer

viewer.r

20-May-2000

A useful image viewer that shows all the jpeg, gif, bmp, png images found in the current directory.

35 lines

1379 bytes

 
Indent {}

indent.r

24-Jan-2003

This utility is to indent programs using {} as blocks like CPP or Java. Almost a one-liner !!

35 lines

1537 bytes

 
REBOL Script Cleaner - Recent!

clean-script.r

29-May-2003

Cleans REBOL scripts by parsing the REBOL code and supplying standard indentation and spacing.

36 lines

2134 bytes

 
Text to HTML Converter

texthtml.r

29-Feb-2000

A useful doc formatting language. Converts text to HTML with titles, sections, sub-sections, and code. Is used to create all REBOL How-to documents.

36 lines

2296 bytes

 
Download and Extract REBOL Library

copy-lib.r

28-May-2001

Download REBOL library and extract all its files.

37 lines

1476 bytes

 
Text Editor

text-edit.r

4-Jun-2000

A basic text editor with: cut, copy, paste, horizontal and vertical scrolling, URLs as file names (for FTP remote editing), shortcut keys and a dialog box for file save confirmation.

38 lines

1662 bytes

 
Build a Program Package

build-pack.r

6-Jul-2001

Creates a single compressed REBOL program from a list of file modules. Modules can include binary data files such as images.

38 lines

1988 bytes

 
Email Blaster

blast.r

22-Jun-2000

Send an email to everyone on a spreadsheet of email addresses. Personalize the greeting for each. Keep a log of who was been sent the message.

40 lines

1725 bytes

 
X ls -R

xlsr.r

30-Sep-2002

Provide a template to eXectute a function on all files found recursively from a directory.

40 lines

2037 bytes

 
File Encryption and Decryption Utility

crypt.r

29-Jun-2001

An example utility that encrypts and decrypts files using a highly secure form of encryption (the Blowfish algorithm with 128 bits). Requires REBOL/View/Pro or REBOL/Command to run.

43 lines

1791 bytes

 
Block Diagram

diagram.r

24-Apr-2001

An example of REBOL code creating a useful diagram.

43 lines

1652 bytes

 
Micro Web Server

webserver.r

10-Jun-2000

Here is a web server that works quite well and can be run from just about any machine. It's not only fast, but its also small so it's easy to enhance.

44 lines

2043 bytes

 
Graphical Layout Editor

layed.r

21-Jun-2000

Your basic 1K REBOL graphical object layout editor. Not many features, but a good example of how to drag faces and show nubs.

45 lines

1529 bytes

 
Ordinal Number Translator

ordnum.r

18-Jun-1999

Translates ordinals (e.g. twenty) to numbers (20)

45 lines

1762 bytes

 
CGI Emailer Form (HTML Part)

cgiemailhtml.r

20-Jul-1999

HTML form to go with CGI Emailer example (cgiemailer.r).

48 lines

1624 bytes

 
En-/decryption Functions

encrypt.r

20-Jul-1999

A basic encryption scheme.

48 lines

2038 bytes

 
XML Generator

xmlgen.r

4-Jun-1999

Simple functions to generate XML output. Creates example XML as published in Scientific American, May 1999.

49 lines

1628 bytes

 
Untitled

hashtable.r

12-Nov-2002

Very simple Hashtable object, but usefull!

49 lines

1329 bytes

 
Cool Effect Gel

gel.r

2-Apr-2001

Power of the REBOL/View engine.

53 lines

1646 bytes

 
Feedback

feedback.r

2-Apr-2001

Sends feedback to REBOL Technologies.

56 lines

2266 bytes

 
Twelve Days of Christmas

twelvedays.r

14-Dec-1999

Twelve Days of Christmas

57 lines

1786 bytes

 
navigator

navigator.r

13-Aug-2002

to navigate throw files, next versions will include web and ftp navigation

58 lines

1908 bytes

 
Prime number checker

prime.r

21-Jul-1999

Address the question, could this integer be a prime number? results of false are not prime, results of true are very probably prime and with the /strong refinement, ( I still have to verify this ) true ( should ) guarantee prime. if the argument is outside the domain of the function, none is returned

59 lines

2966 bytes

 
XPM parser

xpm.r

26-Mar-2002

Convert XPM image file to rebol image! datatype

59 lines

2091 bytes

 
HTML Rainbow generator for Rebol/View

view-rainbow.r

31-May-2001

Create HTML color fade effects. Places output on the clipboard

61 lines

2357 bytes

 
Desk Calculator

desk-calc.r

6-Mar-2002

A tool for simple calculations.

61 lines

2583 bytes

 
Iconic Image Browser

icon-browse.r

4-Jun-2000

Browse a directory of images using a scrolling list of icons. Displays a progress bar while icons are being created.

62 lines

2266 bytes

 
Scroll Pictures

scrollpic.r

16-Jun-2000

Scroll through some pictures

62 lines

1761 bytes

 
Quick Email Sender

emailer.r

2-Apr-2001

A simple GUI example of an email sender.

64 lines

2166 bytes

 
double-key.r - Recent!

double-key.r

20-May-2003

How to merge three images with a 2 colors key

64 lines

2193 bytes

 
Library History

history.r

27-May-2001

Show file change dates for the REBOL public library. Click on a file to view it.

65 lines

2051 bytes

 
3KB News Reader

3kbnewsreader.r

28-Jun-2000

Simple CLI news reader.

67 lines

3847 bytes

 
Wild Buttons

wild-buttons.r

7-Jun-2001

To demonstrate some easy visual button effects with REBOL/View.

68 lines

2710 bytes

 
Paint

paint.r

22-May-2001

The world's smallest paint program.

69 lines

2454 bytes

 
CGI Comment Article

webcomment.r

14-Sep-1999

Run this to create the file used for the cgicomment.r script.

72 lines

2795 bytes

 
State Quizzer

quiz.r

20-Jul-1999

To demonstrate a simple flashcard-style quizzing script

75 lines

3111 bytes

 
Example Text Document

textdoc.r

5-Jun-1999

Creates an example for text-to-html doc language. Shows how natural and readable it is -- the reason we prefer it for writing our how-to documentation.

75 lines

2762 bytes

 
Color REBOL Code in HTML - Recent!

color-code.r

29-May-2003

Colorize source code based on datatype. Result is HTML. This script is used to syntax color the library scripts.

78 lines

3189 bytes

 
Specs Document Converter (Text to HTML)

makespec.r

8-Jun-2000

We use this script to save a lot of time when writing specification documents here at REBOL HQ. Very little notation is required to produce good looking HTML documents with titles, table of contents, section headers, indented fixed-spaced examples, "sidebars", and more. Does all the formatting so we can focus on writing the words (the hard part).

79 lines

4251 bytes

 
Font Lab

font-lab.r

31-Mar-2001

A tool for experimenting with fonts.

79 lines

2972 bytes

 
Tower of REBOL

tower.r

17-Nov-1998

REBOL can speak to many audiences.

83 lines

3226 bytes

 
LRWP interface to Xitami

lrwp.r

4-Oct-2001

LRWP is a FastCGI like interface for Xitami. This implementation is provided by Robert Muench and Maarten Koopmans. Enjoy....

83 lines

4157 bytes

 
Julian Calendar Converter

julian.r

8-Nov-1999

To provide conversions to/from julian day numbers/dates.

84 lines

4743 bytes

 
Digital PCS Phone Pager

pcspager.r

12-Jun-2000

Check e-mail account for messages, then process for paging to a Digital PCS phone. The processing includes chopping message/sender lengths and url-encoding. My cellular company wanted an extra $3/month just to give me an e-mail address that does what this script does. (Can you believe that? $3!) My PCS provider is Cantel AT&T in Canada. You'll need to modify the script to work with your PCS carrier if you're not on Cantel.

84 lines

4420 bytes

 
Messenger

messenger.r

25-May-2001

Display a Reminder at a specified time

85 lines

2527 bytes

 
translate

translate.r

23-Aug-2002

i18n-tool to translate rebol-scripts

87 lines

3842 bytes

 
ICO view 2

ico-view2.r

18-Aug-2001

To view the images from the ICO files (windows icons)

92 lines

3358 bytes

 
Web Site Checker

site-check.r

16-May-2001

Scan a web site looking for missing pages, remote links, email links, etc. Helps with clean up sites.

93 lines

3223 bytes

 
MenuBar

menubar.r

11-Jul-2001

A simple Bar Menu with the Choose Function and much more.

94 lines

4133 bytes

 
Color Match

colormatch.r

21-May-2001

To illustrate the three basic principles of educational objects. 1. objective: a target outcome, task or pattern. 2. experience: an interface that allows students to build relationships to the concept. 3. evaluation: integrated data collector and organizer for evaluation. This EO was first introduced in 1987 to students building scripts to animate graphics over video.

96 lines

4656 bytes

 
Search Center

search.r

3-Jan-2002

Uses various resources for various searches without having to go to their website.

96 lines

3446 bytes

 
Condense Data

condense.r

18-Feb-2002

Provide a series of functions for aggregating data. Specifically designed for taking daily stock data and condensing it into weekly or monthly data series, but flexible enough for most data aggregation tasks.

97 lines

5310 bytes

 
RebProcessor

rebprocessor.r

20-Jun-2001

RebProcessor is a cross between an HTML pre-processor and a website content manager. The user creates source files (foo.src) which can contain any combination of HTML and RP commands, and the script will generate the target file (foo.html) for further use. ** EMail me for the help file, and for the example source file **

97 lines

3283 bytes

 
REBOL Directory Services Lookup

lookup.r

1-Jun-2001

Provides a simple but effective directory server for peer-to-peer and other types of REBOL applications. Can be installed on any CGI webserver.

98 lines

3672 bytes

 
Cellphone reminder

remind.r

16-Jun-2000

Reads a file 'data.txt' containing appointment data, and sends my cell phone a text message 5 minutes before the appointment.

110 lines

5436 bytes

 
Image Sorter

image-sort.r

30-May-2001

A handy tool for sorting images into separate directories or deleting images. Includes scrolling list of image files with highlight and scrolling list of target directories. Also uses cursor keys, space, and backspace for navigation.

113 lines

4076 bytes

 
Phone Log

phone-log.r

2-Jul-2001

A cgi shared phone log in REBOL. Inspired by Andrew Grossman's guestbook.

117 lines

7188 bytes

 
REBOL Face Effect Lab

effect-lab.r

2-Apr-2001

Show combinations of effects.

2 pages

5470 bytes

 
another slider

slide.r

21-Aug-2001

Adds vertical slider to any face

2 pages

4974 bytes

 
PNG Examiner

png.r

25-Nov-2001

Basic PNG (Portable Network Graphics) parser which can show all informations from standard chunks in the file.

2 pages

5759 bytes

 
View-Hanoi

view-hanoi.r

4-Oct-2001

Towers of Hanoi with Visualization. A learning excercise for me. Hopefully it will improve over time.

2 pages

8069 bytes

 
Calculation

calc-engine.r

14-Mar-2002

A dialect for creating calculators.

2 pages

4874 bytes

 
Calculese

calculese.r

16-Mar-2002

A dialect for creating calculators.

2 pages

5141 bytes

 
Updating and Creating links in INDEX files

update_index.r

14-Jan-2002

Update/create links in index files

3 pages

5596 bytes

 
Rebodex

rebodex.r

2-Apr-2001

A simple but useful address book contact database.

3 pages

6121 bytes

 
REBftp simple ftp client

rebftp.r

7-Jun-2001

A simple program to upload and download files to/from an ftp server.

3 pages

7958 bytes

 
Mine-Sweeper

mines.r

1-Jul-2000

Mine-sweeper game

6 pages

14071 bytes

 
Design By Contract

dbc.r

29-Oct-2002

Provides support for DBC and some simple examples

6 pages

13304 bytes

 
Easy VID Tutorial

easy-vid.r

7-Apr-2001

Beginner's tutorial to VID.

9 pages

16415 bytes

 
Simple file manager

ropus.r

12-Dec-1999

Simple file manager

11 pages

18944 bytes

 
Easy Quick Plot

ez-plot.r

20-Feb-2002

Simple tutorial for using the quick plot dialect.

34 pages

61796 bytes

 


The line count is for code lines only and is used as a rough estimate of code size. It does not include script headers, blank lines, or comment lines.

To add or modify a file, run REBOL/View and click on the Add-Script icon in the Library folder. Be sure that the script has a REBOL header that describes its purpose.

You can download the entire library as a compressed, self-extracting REBOL archive. The file is 585 KB and requires REBOL to extract. You may need to right click on this link to save the file in some browsers.

Once you have extracted the files, you can build these HTML index pages locally by running the build-lib.r script.

Note: All scripts are provided AS IS without warranty and without liability to the author or to REBOL Technologies.

REBOL is a trademark of REBOL Technologies.