#| -*-Scheme-*-
-$Id: bootstrap.scm,v 1.3 1992/11/07 16:13:44 jinx Exp $
+$Id: bootstrap.scm,v 1.4 1994/01/08 21:23:00 gjr Exp $
-Copyright (c) 1991-1992 Massachusetts Institute of Technology
+Copyright (c) 1991-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;; Generate CREF files for runtime system
(with-working-directory-pathname "runtime"
(lambda ()
- (if (not (and (file-exists? "runtim.glob")
- (file-exists? "runtim.con")
- (file-exists? "runtim.ldr")))
+ (if (not (and (file-exists? "runtime.glob")
+ (file-exists? "runtime.con")
+ (file-exists? "runtime.ldr")))
(begin
- (cref/generate-constructors "runtim")
- (sf "runtim.con" "runtim.bcon")
- (sf "runtim.ldr" "runtim.bldr")))))
+ (cref/generate-constructors "runtime")
+ (sf "runtime.con" "runtime.bcon")
+ (sf "runtime.ldr" "runtime.bldr")))))
;;; Generate CREF files for CREF subsystem
(with-working-directory-pathname "cref"
(with-working-directory-pathname "compiler"
(lambda ()
(if (or (and (file-symbolic-link? "machine")
- (file-symbolic-link? "comp.cbf")
- (file-symbolic-link? "comp.pkg")
- (file-symbolic-link? "comp.sf")
+ (file-symbolic-link? "compiler.cbf")
+ (file-symbolic-link? "compiler.pkg")
+ (file-symbolic-link? "compiler.sf")
(file-symbolic-link? "make.com")
(file-symbolic-link? "make.binf"))
(let ((types
(newline)
(write-string "Enter machine type: ")
(let ((type (read)))
- (cond ((not (assq type types))
- (beep)
- (loop))
- ((eq? type 'OTHER)
- false)
- (else
- (let ((directory
- (case type
- ((ALPHA) "alpha")
- ((HP-PA) "spectrum")
- ((I386) "i386")
- ((MC68030 MC68040) "bobcat")
- ((PMAX MIPS) "mips")
- ((VAX) "vax")))
- (ln-sf
- (let ((ln-s
- (let ((prim (make-primitive-procedure
- 'FILE-LINK-SOFT)))
- (lambda (from to)
- (prim (->namestring (merge-pathnames from))
- (->namestring (merge-pathnames to)))))))
- (lambda (from to)
- (if (file-exists? to)
- (delete-file to))
- (ln-s from to)))))
- (let ((prefix
- (string-append "machines/" directory)))
- (with-working-directory-pathname prefix
- (lambda ()
- (case type
- ((MC68030)
- (ln-sf "make020.scm" "make.scm"))
- ((MC68040)
- (ln-sf "make040.scm" "make.scm"))
- ((PMAX)
- (ln-sf "comp.sf-little" "comp.sf")
- (ln-sf "make.scm-little" "make.scm"))
- ((MIPS)
- (ln-sf "comp.sf-big" "comp.sf")
- (ln-sf "make.scm-big" "make.scm")))))
- (ln-sf prefix "machine")
- (ln-sf "machine/comp.cbf" "comp.cbf")
- (ln-sf "machine/comp.pkg" "comp.pkg")
- (ln-sf "machine/comp.sf" "comp.sf")
- (ln-sf "machine/make.com" "make.com")
- (ln-sf "machine/make.binf" "make.binf")))
- true))))))
+ (cond
+ ((not (assq type types))
+ (beep)
+ (loop))
+ ((eq? type 'OTHER)
+ false)
+ (else
+ (let ((directory
+ (case type
+ ((ALPHA) "alpha")
+ ((HP-PA) "spectrum")
+ ((I386) "i386")
+ ((MC68030 MC68040) "bobcat")
+ ((PMAX MIPS) "mips")
+ ((VAX) "vax")))
+ (ln-sf
+ (let ((ln-s
+ (let ((prim (make-primitive-procedure
+ 'FILE-LINK-SOFT)))
+ (lambda (from to)
+ (prim (->namestring
+ (merge-pathnames from))
+ (->namestring
+ (merge-pathnames to)))))))
+ (lambda (from to)
+ (if (file-exists? to)
+ (delete-file to))
+ (ln-s from to)))))
+ (let ((prefix
+ (string-append "machines/" directory)))
+ (with-working-directory-pathname prefix
+ (lambda ()
+ (case type
+ ((MC68030)
+ (ln-sf "make020.scm" "make.scm"))
+ ((MC68040)
+ (ln-sf "make040.scm" "make.scm"))
+ ((PMAX)
+ (ln-sf "compiler.sf-little" "compiler.sf")
+ (ln-sf "make.scm-little" "make.scm"))
+ ((MIPS)
+ (ln-sf "compiler.sf-big" "compiler.sf")
+ (ln-sf "make.scm-big" "make.scm")))))
+ (ln-sf prefix "machine")
+ (ln-sf "machine/compiler.cbf" "compiler.cbf")
+ (ln-sf "machine/compiler.pkg" "compiler.pkg")
+ (ln-sf "machine/compiler.sf" "compiler.sf")
+ (ln-sf "machine/make.com" "make.com")
+ (ln-sf "machine/make.binf" "make.binf")))
+ true))))))
(begin
- (load "comp.sf")
- (load "comp.cbf"))))))
\ No newline at end of file
+ (load "compiler.sf")
+ (load "compiler.cbf"))))))
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.2 1993/10/13 00:00:44 cph Exp $
+$Id: compiler.sf,v 1.3 1994/01/08 21:09:17 gjr Exp $
-Copyright (c) 1992-93 Massachusetts Institute of Technology
+Copyright (c) 1992-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.11 1993/12/09 03:23:04 gjr Exp $
+$Id: compiler.pkg,v 1.12 1994/01/08 21:08:12 gjr Exp $
-Copyright (c) 1992-1993 Digital Equipment Corporation (D.E.C.)
+Copyright (c) 1992-1994 Digital Equipment Corporation (D.E.C.)
This software was developed at the Digital Equipment Corporation
Cambridge Research Laboratory. Permission to copy this software, to
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.2 1993/10/13 00:00:51 cph Exp $
+$Id: compiler.sf,v 1.3 1994/01/08 21:08:39 gjr Exp $
-Copyright (c) 1992-93 Digital Equipment Corporation (D.E.C.)
+Copyright (c) 1992-1994 Digital Equipment Corporation (D.E.C.)
This software was developed at the Digital Equipment Corporation
Cambridge Research Laboratory. Permission to copy this software, to
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.48 1993/12/09 03:22:28 gjr Exp $
+$Id: compiler.pkg,v 1.49 1994/01/08 21:10:22 gjr Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.14 1993/10/13 00:00:57 cph Exp $
+$Id: compiler.sf,v 1.15 1994/01/08 21:10:50 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.20 1993/12/09 03:22:08 gjr Exp $
+$Id: compiler.pkg,v 1.21 1994/01/08 21:12:00 gjr Exp $
-Copyright (c) 1992-1993 Massachusetts Institute of Technology
+Copyright (c) 1992-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.4 1993/10/13 00:01:04 cph Exp $
+$Id: compiler.sf,v 1.5 1994/01/08 21:11:45 gjr Exp $
-Copyright (c) 1992-93 Massachusetts Institute of Technology
+Copyright (c) 1992-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.18 1993/12/09 03:22:45 gjr Exp $
+$Id: compiler.pkg,v 1.19 1994/01/08 21:15:50 gjr Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf-big,v 1.4 1993/10/13 00:01:12 cph Exp $
+$Id: compiler.sf-big,v 1.5 1994/01/08 21:17:31 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.sf-little,v 1.4 1993/10/13 00:01:20 cph Exp $
+$Id: compiler.sf-little,v 1.5 1994/01/08 21:16:24 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.46 1993/12/08 17:47:44 gjr Exp $
+$Id: compiler.pkg,v 1.47 1994/01/08 21:18:45 gjr Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.14 1993/10/13 00:00:31 cph Exp $
+$Id: compiler.sf,v 1.15 1994/01/08 21:19:10 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: compiler.pkg,v 1.20 1993/12/09 03:23:25 gjr Exp $
+$Id: compiler.pkg,v 1.21 1994/01/08 21:20:23 gjr Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;;; Compiler Packaging
\f
-(global-definitions "../runtime/runtim")
+(global-definitions "../runtime/runtime")
(define-package (compiler)
(files "base/switch"
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.5 1993/10/13 00:01:31 cph Exp $
+$Id: compiler.sf,v 1.6 1994/01/08 21:20:55 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1994 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(if (not (name->package '(COMPILER)))
(begin
;; If there is no existing package constructor, generate one.
- (if (not (file-exists? "comp.bcon"))
+ (if (not (file-exists? "compiler.bcon"))
(begin
((access cref/generate-trivial-constructor
(->environment '(CROSS-REFERENCE)))
"comp")
- (sf "comp.con" "comp.bcon")))
- (load "comp.bcon")))
+ (sf "compiler.con" "compiler.bcon")))
+ (load "compiler.bcon")))
;; Guarantee that the necessary syntactic transforms and optimizers
;; are loaded.
((access syntax-files! (->environment '(COMPILER))))
;; Rebuild the package constructors and cref.
-(cref/generate-constructors "comp")
-(sf "comp.con" "comp.bcon")
-(sf "comp.ldr" "comp.bldr")
\ No newline at end of file
+(cref/generate-constructors "compiler")
+(sf "compiler.con" "compiler.bcon")
+(sf "compiler.ldr" "compiler.bldr")
\ No newline at end of file