Rebol Boundle for TextMate

Important:
this is a "make it work" boundle for TextMate version 1.5

- download TM_rebol.zip (55.5KB)
- put folder "TextMate" in "~/Library/Application Support/"
- double click on "Anonymous TT" to install this nice font
- launch TextMate and open menu "TextMate/Preferences"
- set stuff like below

- here select "Vibrant Ink" as your theme, click on "Select..."
and choose "Anonymous" font , size 9

- in the "Advanced" tab probably better set "File Encoding" to
"ISO-8859-1" for rebol

- and this is to use the sql language, so if you need it..
(you can also set them for project specific, click the "i" icon in the
bottom of the project drawer)

- close "Preferences" panel and open menu "Window/Show Boundle Editor"
- in the left column of the Boundle Editor, open "Rebol" and select "Clean Script",
change "%/Users/alpha/rebol/USER/clean-script.r" to the proper location, same
for "Clean Script Heavy" (you can get both script from rebol.org)

- select "Run Script with view",
change "rebolview" to the name of your rebol/view binary

Now you should be set!

- open a rebol file with ".r" extension, or create a new document, press ctrl-esc (to set it
to rebol language) write "header" and press tab, write your code.

some useful stuff:
- with the caret on a rebol word press command-H
- anywhere in your code, type "clean" and press tab
- type "fun" and press esc
- command-R to run your script

- command-option-R to run your script in terminal (useful if you need interactivity)

- command-otion-v to run your script with rebol/view

useful links:
http://macromates.com/textmate/manual/
http://macromates.com/textmate/manual/language_grammars#language_rules
http://macromates.com/textmate/manual/regular_expressions#syntax_oniguruma
http://macromates.com/blog/archives/2005/08/25/the-power-of-snippets/
http://macromates.com/blog/archives/2005/07/05/key-bindings-for-switchers/

This is what you should see:



That's it, I hope it works for you and you fall in love with TextMate as I did.
Will 8)