library.lsp 738 B

1234567891011121314151617181920212223242526272829
  1. % This is a collection of commonly useful Lisp
  2. % functions that can be defined in terms of the
  3. % things that are built into vsl. The idea is that
  4. % going
  5. % ./vsl -z library.lsp
  6. % will create an image file vsl.img that can be loaded
  7. % next time vsl is started, so that the cold-start
  8. % flag (-z) does not then have to be used and all these
  9. % extra functions will be available.
  10. % The library itself if in "vsl.lsp"...
  11. (rdf "vsl.lsp")
  12. % (rdf "printf.lsp")
  13. % The compatibility file "vsl.lsp" defines a macro called
  14. % "~let" rather than "let" because of a name-clash with the
  15. % Reduce algbera system. I put in the more ordinary name here.
  16. (dm let (u) (cons '!~let (cdr u)))
  17. % Checkpoint a heap image and stop.
  18. (preserve)
  19. (stop 0)