s48-package-defs.scm 861 B

123456789101112131415161718192021222324252627282930
  1. ; Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees. See file COPYING.
  2. (define-structure vm-utilities vm-utilities-interface
  3. (open scheme prescheme)
  4. (files (util vm-utilities))
  5. (begin
  6. ; (define-syntax assert
  7. ; (lambda (exp rename compare)
  8. ; 0))
  9. (define (assert x)
  10. (if (not x)
  11. (error "assertion failed")))
  12. ))
  13. (define-structure external external-interface
  14. (open scheme bitwise ps-memory)
  15. (for-syntax (open scheme signals)) ; for error
  16. (files (util external)))
  17. (define-structures ((channel-io channel-interface)
  18. (events event-interface))
  19. (open scheme big-scheme ps-memory ports
  20. (subset i/o (current-error-port))
  21. (modify prescheme (prefix prescheme:)
  22. (expose open-input-file open-output-file
  23. close-input-port close-output-port
  24. errors)))
  25. (files (util s48-channel)))