load-static.scm 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ; -*- Mode: Scheme; -*-
  2. ; Copyright (c) 1993-2007 by Richard Kelsey and Jonathan Rees. See file COPYING.
  3. ; ,exec ,load misc/load-static.scm
  4. ; (do-it 100000 "debug/little.image" "debug/little-heap.c")
  5. (translate "=scheme48/" "./")
  6. (config
  7. (lambda ()
  8. (load "vm/ps-interface.scm")
  9. (load "vm/interfaces.scm")
  10. (load "vm/package-defs.scm" "vm/s48-package-defs.scm")))
  11. (load-package 'bigbit)
  12. ; The following is for struct's (for-syntax ...) clause
  13. ; (load-package 'destructuring)
  14. (load-package 'heap)
  15. (in 'heap
  16. (lambda ()
  17. (run '(define (newspace-begin) *newspace-begin*))
  18. (run '(define (heap-pointer) *hp*))
  19. (structure 'heap-extra
  20. '(export newspace-begin
  21. heap-pointer
  22. header-a-units
  23. d-vector?
  24. stob-type))))
  25. (config '(run (define-structure static (export do-it)
  26. (open scheme heap memory data stob struct
  27. heap-extra
  28. vm-architecture
  29. formats
  30. enumerated
  31. signals)
  32. (files (misc static)))))
  33. (load-package 'static)
  34. (user '(open static))