Installing Bigloo
Bigloo is a Scheme implementation with both Scheme->native and Scheme->JVM compilers, an interpreter, and a rich Scheme editing/debugging mode (called The Bee) that runs in Emacs 21. I'm trying it out because, as it states firsthand on its home page, it's "devoted to one goal: enabling Scheme based programming style where C(++) is usually required". My thoughts exactly. And they've added a Java bytecode compiler, so they seem to be devoted to practical Scheme development in general.
I'll write more about it as I use it. This is just notes on the installation process for posterity, since there were a few quirks.
Installing Bigloo on Max OS X 10.3
Installing it on OS X (Panther, 10.3) was easy - I followed the instructions in the INSTALL file that comes in the source distribution, using the "--bee=full" and "--benchmark=true" command-line options, and the various 'make' commands ran without problems.
Detail: when running the various 'make' commands, as with most unix installation scripts you need to prefix the command with 'sudo', as in:
'sudo make'
It will then prompt you for the admin password. You need to do this to grant the script temporary permission to update your /usr/local/... directories (unless you want to install it somewhere else).
The install scripts do not update ~/.emacs for you to install The Bee. The Bigloo manual (a .pdf) contains the code to append to your .emacs file to install it.
One detail: these instructions don't mention that you need to append the path of your Bigloo emacs directory to emacs' load-path variable. Make sure to include this statement in ~/.emacs:
(setq load-path (cons "/usr/local/bin/emacs/site-lisp/bigloo/bee" load-path))
where the path specified is wherever bigloo installed 'bee-mode.el' on your installation drive.
Emacs, OS X, and the PATH variable
With the above installation you'll be able to run Bigloo fine if running Emacs from the command line, i.e. text-based, with no mouse support or out-of-the-box support for the Apple key. To run the GUI version (my preference), you need to give Emacs access to the PATH variable, so it can find the bigloo executables.
in order to expose the PATH variable to Emacs on OS X, I use a script to launch Emacs as suggested in their FAQ:
#!/bin/sh
/Applications/development/Emacs.app/Contents/MacOS/Emacs "$@"
(replace the bold portion of the path with the path to your Emacs application installation). So to run Emacs, you open a Terminal window and type 'emacs.gui' or whatever you've called the script. Once I ran Emacs using this script, Bigloo ran fine.
Installing Bigloo on Windows
I was able to install the Bigloo interpreter on Windows (2000 Professional) using the Windows installer, without any hassle, but this doesn't install the required .el files to run The Bee in Emacs.
To install The Bee on Windows, download the source distribution, and copy the 'bmacs' directory to your installation drive somewhere. I put mine under ~/emacs/bigloo. (on Windows your home directory ~ is probably something like 'Documents and Settings/kfrog').
Then you need to update ~/.emacs to include this directory and its subdirectories:
(setq load-path (cons "~/emacs/bigloo/bmacs" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/bee" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/bug" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/cee" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/dbg" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/etc" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/lee" load-path))
(setq load-path (cons "~/emacs/bigloo/bmacs/ude" load-path))
And that's it. I'm not sure why the OS X installation doesn't require that I include all these subdirectories in the load-path, but it seems to run fine with only the 'bee' directory specified.
To run Bee Mode in Emacs, type 'M-x bee-mode' and hit return, where 'M-x' means Meta-x, which is either Apple-x on Mac or Alt-x on PC.
Bigloo looks promising. Stay tuned.