TextMate and REBOL
Download now:
REBOL TextMate Bundle (based on Will Arp’s REBOL TextMate Bundle
here). Note: it is assumed there is a working
REBOL binary (Core should suffice) at /usr/local/bin/rebol and is executable.
Features:
- Syntax Highlighting
- Type
rebol<tab>for a REBOL header - Tab trigger shortcuts for
make,funcandcontext - Ctrl-H on any value to invoke REBOL help
- Ctrl-D on selected text to ‘do that text
Blackboard Theme to go with.

TextMate and REBOL
REBOL-based Commands
Create a new command, paste a REBOL Shell script as content:
#!/usr/local/bin/rebol -q
REBOL [title: "A Script"]
print "RESULT"
Grab Shell Environment Variables to interact with your Project:
project: to-rebol-file get-env "TM_PROJECT_DIRECTORY"
Grab input to manipulate content:
set-modes system/ports/input [lines: false binary: false]
input*: any [copy system/ports/input ""]
print uppercase mold input
Utilize TextMate’s ‘Show as HTML’ Output option:
print build-markup {
<h1><% mold input* %></h1>
}
Build the Bundle Yourself
For those that don’t want to use all components, you can review some of them below:
| Type | Content |
|---|---|
| C | Run Script |
| C | View Script |
| C | Help on Word |
| C | Compute Value |
| S | Header |
| L | REBOL |
| P | Miscellaneous |
| P | Completation |
Posted by Chris-RG, 44 days ago