alt-packages.scm 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: Richard Kelsey, Mike Sperber
  3. ; This configuration file provides alternative implementations of the
  4. ; low, run-time, and run-time-internals structures. Cf. the interface
  5. ; definitions in packages.scm.
  6. (define-structure scheme-level-0 scheme-level-0-interface
  7. (open scheme))
  8. (define-structure escapes escapes-interface ;cf. alt/low-packages.scm
  9. (open scheme-level-2 define-record-types low-exceptions)
  10. (files (alt escape)))
  11. (define-structures ((low-level low-level-interface)
  12. (source-file-names (export (%file-name% :syntax)))
  13. (structure-refs (export (structure-ref :syntax))))
  14. (open scheme-level-2 low-exceptions)
  15. (files (alt low)))
  16. (define-structure closures closures-interface
  17. (open scheme-level-1 records)
  18. (files (alt closure)))
  19. (define-structure locations locations-interface
  20. (open scheme-level-2 records)
  21. (files (alt locations)))
  22. (define-structure loopholes (export (loophole :syntax))
  23. (open scheme-level-2)
  24. (files (alt loophole)))
  25. (define-structure silly (export reverse-list->string)
  26. (open scheme-level-1)
  27. (files (alt silly)))
  28. (define-structure write-images (export write-image)
  29. (open scheme-level-2
  30. tables ;Forward reference
  31. features bitwise ascii enumerated
  32. architecture
  33. templates
  34. closures
  35. low-exceptions)
  36. (files (link data)
  37. (link transport)
  38. (link write-image)))
  39. ; --------------------
  40. ; run-time (generally speaking, things needed by the linker)
  41. ; Same as in rts-packages.scm:
  42. (define-structure architecture vm-architecture-interface
  43. (open scheme-level-1 low-exceptions enumerated)
  44. (files (vm/interp arch)))
  45. (define-structure define-record-types define-record-types-interface
  46. (open scheme-level-1 records)
  47. (files (alt jar-defrecord)))
  48. ; Same as in rts-packages.scm:
  49. (define-structure enumerated enumerated-interface
  50. (open scheme-level-1 low-exceptions)
  51. (files (rts defenum scm)))
  52. (define-structure fluids fluids-interface
  53. (open scheme-level-1 low-exceptions)
  54. (files (alt fluid)))
  55. (define-structures ((scheme-level-2 scheme-level-2-interface)
  56. (scheme-level-1 scheme-level-1-interface))
  57. (open scheme))
  58. (define-structure templates templates-interface
  59. (open scheme-level-1)
  60. (files (alt template)
  61. (rts template)))
  62. (define-structure util util-interface
  63. (open scheme-level-1)
  64. (files (rts util)))
  65. (define-structure syntax-rules-data syntax-rules-data-interface
  66. (open scheme-level-1)
  67. (files (rts syntax-rules-data)))
  68. (define-structure syntax-rules-apply syntax-rules-apply-interface
  69. (open scheme-level-1)
  70. (files (rts syntax-rules-apply)))
  71. (define-structure weak weak-interface
  72. (open scheme-level-1 low-exceptions)
  73. (files (alt weak)
  74. (rts population)))
  75. (define-structure debug-messages (export debug-message)
  76. (open scheme-level-2)
  77. (files (alt debug-message)))
  78. ; --------------------
  79. ; run-time internals (generally speaking, things not needed by the linker)
  80. ; * = mentioned in more-packages.scm
  81. ; conditions
  82. ; continuations
  83. ; * exceptions
  84. ; * fluids-internal
  85. ; methods
  86. ; meta-methods
  87. ; interrupts
  88. ; low-level
  89. ; more-types
  90. ; * number-i/o
  91. ; * ports
  92. ; * reading
  93. ; * records-internal
  94. ; usual-resumer
  95. ; * wind
  96. ; writing
  97. (define-structure wind wind-interface
  98. (open scheme-level-2)
  99. (files (alt reroot)))
  100. (define-structure continuations continuations-interface
  101. (open scheme-level-1 templates methods)
  102. (files (alt contin)
  103. (rts continuation))
  104. (optimize auto-integrate))
  105. ; --------------------
  106. ; These don't really belong here, but I sure don't know where they
  107. ; ought to go.
  108. (define-structure environments (export *structure-ref)
  109. (open ) ;Assume flatloading
  110. (files (alt environments)))
  111. ; Procedure annotations
  112. (define-structure annotations
  113. (export annotate-procedure procedure-annotation)
  114. (open scheme-level-1)
  115. (files (alt annotate)))