home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.uni-stuttgart.de/pub/systems/acorn/
/
Acorn.tar
/
Acorn
/
acornet
/
dev
/
scheme
/
scmdist.spk
/
scm
/
!Archis
next >
Wrap
Text File
|
1993-11-04
|
3KB
|
89 lines
Archimedes port of scm4d0 R4RS scheme interpreter.
--------------------------------------------------
This application provides a rahter good programming environment for hacking
away at lists / similar.
The source is on :
prep.ai.mit.edu
in /pub/gnu/jacal
This distribution is covered by the same license conditions and warranty :
see Docs.* for info.
You may also be interested in packages called wb and hobbit which work with
this software - hobbit will require a C compiler and some work on your
behalf to work (see !ReHacking....) - you'll probbly need the original
distribution as well....
Anyone who wants the sorce can either ask me to email them the Archi bent
versions or follow the guidelines give in the above document and hack it
themselves..
Running :
Double click and you will be taken into the interpreter. If you run the
interpreter's boot file earlier without double clicking (ie in a !Boot
file for your machine with Filer_Boot) then you can bring up a command line
window with control F12 and just type 'scm' to get going.
Docs - see the docs directory. There is rather a lot...
Examples - see !GNUscm.scm directory.
Loading scheme source.
There is a directory provided in !GNUscm to store your scheme in -
you can then load files from here with something like -
(load "<scm$dir>.foo") ;;; load !GNUscm.scm.foo
The SLIB library.
As of this release Ive bundled along the GNU scheme library, there are two
versions of this - one is the one contained in !GNUscm.slib and the other
is the archive containing some extras scheme source that is of no practical
use to archimedes owners.
Notes on using this...
Ok this is a bit hairy but Ill have a go at explaining this as far as it
seems to work...
(require '<what>) ;;; syntax to require a module
If for example we wanted to ensure we had the random library loaded at the
start of our scheme code we would use -
(require 'random)
And then the relevant libraries would be loaded.
This is fine and good. However....if you examine !GNUscm.slib.require you
will find a group of lines describing which require'd features are bound to
which filenames. Note that this is an incomplete description of all the
files provided in this directory so....
If you get an error message about loading when you try torequire a feature
then you should in the first instance check that you have typed the feature
correctly - sc4opt for example is loaded with
(require 'rev4-optional-procedures)
and NOT
(require 'sc4opt)
If you wish to use the filenames as they ae then the following will work :
(load "<slib>sc4opt")
Note that there is no '.' between the environmental variable expansion and
the filename being loaded.
regards,
Al Slater.
Any bug reports or other comments to...
ams@uk.ac.abdn.csd ;;; no outgoing email from here. In only.
ucs3028@uk.ac.abdn.csd ;;; Can send from here though.
PPS - Please read the document entitled !Port if you are interested either in
producing a windowing version of this software or using the package called
'hobbit'.
PPS2 - Thanks to Huw Rogers for Unixlib and the small partisan bunch that
keep turning out patches for it.
Roll on ARMiX!