123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- (config '(run (define :arguments :values)))
- (translate "=scheme48/" "./")
- (load-package 'flatloading)
- (open 'flatloading)
- (define (r x) (config `(run ,x)))
- (r '(define-structure source-file-names (export (%file-name% :syntax))
- (open scheme-level-1
- syntactic
- fluids)
- (begin (define-syntax %file-name%
- (syntax-rules ()
- ((%file-name%) (fluid $source-file-name)))))))
- (r '(define-structure enumerated enumerated-interface
- (open scheme-level-1 signals)
- (files (rts defenum scm))))
- (r '(define-structure architecture vm-architecture-interface
- (open scheme-level-1 signals enumerated)
- (files (rts arch))))
- (config '(structure reflective-tower-maker
- (export-reflective-tower-maker)))
- (config '(load "packages.scm"))
- (config '(structure %run-time-structures run-time-structures-interface))
- (config '(structure %features-structures features-structures-interface))
- (r
- '(define-structure %linker-structures
- (make-linker-structures %run-time-structures
- %features-structures
- (make-compiler-structures %run-time-structures
- %features-structures))))
- (config '(load "interfaces.scm"
- "vm/shared-interfaces.scm"
- "more-interfaces.scm"))
- (let ((z (config '(run %linker-structures)))
- (env (config interaction-environment)))
- (config (lambda () (flatload z env))))
- (load-package 'link-config)
- (in 'link-config
- '(open scheme packages packages-internal
- reflective-tower-maker))
- (in 'linker '(run (set! *debug-linker?* #t)))
- (in 'link-config '(open flatloading))
- (define (usual-stuff)
- (in 'link-config)
- (run '(begin (load-configuration "interfaces.scm")
- (load-configuration "packages.scm")
- (flatload initial-structures)))
- (load "initial.scm"))
|