![]()
![]()
We recommend running Scheme 48 under Gnu Emacs using the cmuscheme48 command package. This is in the Scheme 48 distribution's emacs/ subdirectory. It is a variant of the "cmuscheme" library, which comes to us courtesy of Olin Shivers, formerly of CMU. You might want to put the following in your emacs init file (.emacs):
(setq scheme-program-name "scheme48")
(autoload 'run-scheme "cmuscheme48" "Run an inferior Scheme process." t)
To make the autoload and (require ...) forms work, you will also need to put the directory containing cmuscheme and related files in your emacs load-path:
(setq load-path (append load-path '("/emacs")))
For further documentation see emacs/cmuscheme48.el and emacs/comint.el.
A few command line arguments are processed by the virtual machine as it starts up.
scheme48 [-i image] [-h heapsize] [-o filename] [-s stacksize]
[-a argument ...]
> ,build (lambda (a) (for-each display a) (newline) 0) foo.image
> ,exit
% scheme48vm -i foo.image -a mumble "foo x"
mumblefoo x
%
The usual definition of the "s48" or "scheme48" command is actually a shell script that starts up the virtual machine with a -i argument specifying the development environment heap image, and a -o argument specifying the location of the virtual machine.
![]()
Ownership, Maintenance and Disclaimers
Last modified