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 >
Text File  |  1993-11-04  |  3KB  |  89 lines

  1. Archimedes port of scm4d0 R4RS scheme interpreter.
  2. --------------------------------------------------
  3.  
  4. This application provides a rahter good programming environment for hacking
  5. away at lists / similar.
  6. The source is on :
  7. prep.ai.mit.edu
  8. in /pub/gnu/jacal
  9.  
  10. This distribution is covered by the same license conditions and warranty :
  11. see Docs.* for info.
  12. You may also be interested in packages called wb and hobbit which work with
  13. this software - hobbit will require a C compiler and some work on your 
  14. behalf to work (see !ReHacking....) - you'll probbly need the original
  15. distribution as well....
  16. Anyone who wants the sorce can either ask me to email them the Archi bent
  17. versions or follow the guidelines give in the above document and hack it
  18. themselves..
  19.  
  20.  
  21. Running :
  22. Double click and you will be taken into the interpreter. If you run the 
  23. interpreter's boot file earlier without double clicking (ie in a !Boot
  24. file for your machine with Filer_Boot) then you can bring up a command line
  25. window with control F12 and just type 'scm' to get going.
  26.  
  27. Docs       - see the docs directory. There is rather a lot...
  28. Examples - see !GNUscm.scm directory.
  29.  
  30. Loading scheme source.
  31. There is a directory provided in !GNUscm to store your scheme in - 
  32. you can then load files from here with something like -
  33.       (load "<scm$dir>.foo")             ;;; load !GNUscm.scm.foo
  34.  
  35. The SLIB library. 
  36. As of this release Ive bundled along the GNU scheme library, there are two
  37. versions of this - one is the one contained in !GNUscm.slib and the other
  38. is the archive containing some extras scheme source that is of no practical
  39. use to archimedes owners.
  40. Notes on using this...
  41. Ok this is a bit hairy but Ill have a go at explaining this as far as it 
  42. seems to work...
  43.  
  44.       (require '<what>)               ;;; syntax to require a module 
  45.  
  46. If for example we wanted to ensure we had the random library loaded at the
  47. start of our scheme code we would use -
  48.       (require 'random)
  49. And then the relevant libraries would be loaded.
  50. This is fine and good. However....if you examine !GNUscm.slib.require you 
  51. will find a group of lines describing which require'd features are bound to
  52. which filenames. Note that this is an incomplete description of all the 
  53. files provided in this directory so....
  54. If you get an error message about loading when you try torequire a feature
  55. then you should in the first instance check that you have typed the feature
  56. correctly - sc4opt for example is loaded with
  57.       (require 'rev4-optional-procedures)
  58. and NOT
  59.       (require 'sc4opt)
  60.       
  61. If you wish to use the filenames as they ae then the following will work :
  62.       (load "<slib>sc4opt")
  63. Note that there is no '.' between the environmental variable expansion and 
  64. the filename being loaded.  
  65.  
  66.  
  67.  
  68. regards,
  69.  
  70.  
  71.  
  72. Al Slater.
  73.  
  74. Any bug reports or other comments to...
  75.  
  76.    ams@uk.ac.abdn.csd                  ;;; no outgoing email from here. In only.
  77.    ucs3028@uk.ac.abdn.csd           ;;; Can send from here though.
  78.    
  79.    
  80.    
  81. PPS - Please read the document entitled !Port if you are interested either in
  82. producing a windowing version of this software or using the package called
  83. 'hobbit'.
  84.  
  85.  
  86.  
  87. PPS2 - Thanks to Huw Rogers for Unixlib and the small partisan bunch that
  88.        keep turning out patches for it.
  89.        Roll on ARMiX!