low-packages.scm 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ; Copyright (c) 1993-2007 by Richard Kelsey and Jonathan Rees. See file COPYING.
  2. ; Alternate implementations of the low-structures.
  3. ; Cf. low-structures-interface in ../packages.scm and ../alt-structures.scm.
  4. ; Most of the low-structures are assumed to be inherited or obtained
  5. ; elsewhere (probably from a running Scheme 48). This only defines
  6. ; structures that export privileged operations.
  7. (define-structure escapes escapes-interface
  8. (open scheme-level-2 define-record-types simple-signals)
  9. (files escape))
  10. (define-structures ((primitives primitives-interface)
  11. (primitives-internal (export maybe-handle-interrupt
  12. raise-exception
  13. get-exception-handler
  14. ?start)))
  15. (open scheme-level-2
  16. define-record-types
  17. bitwise ;Only for re-export
  18. features ;Only for re-export
  19. simple-signals
  20. ;; templates -- unneeded now?
  21. )
  22. (files primitives
  23. weak
  24. contin))
  25. (define-structure code-quote (export (code-quote :syntax))
  26. (open scheme-level-2)
  27. (begin
  28. (define-syntax code-quote
  29. (lambda (e r c)
  30. `(,(r 'quote) ,(cadr e))))))