alt-packages.scm 3.6 KB

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