Export some procedures from the compiler-package to the global
authorChris Hanson <org/chris-hanson/cph>
Fri, 31 Jul 1987 02:18:55 +0000 (02:18 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 31 Jul 1987 02:18:55 +0000 (02:18 +0000)
environment.  Do not change the default directory or environment or
syntax table when loading the compiler.

v7/src/compiler/machines/bobcat/make.scm-68040

index 26d85d82171bbdad09a2bfcb4d11bffff0c7ff00..f7dd99ffc14185afd0d33eb3763eaf72e31fdcac 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 1.38 1987/07/30 21:44:39 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 1.39 1987/07/31 02:18:55 cph Exp $
 
 Copyright (c) 1987 Massachusetts Institute of Technology
 
@@ -36,7 +36,7 @@ MIT in each case. |#
 
 (declare (usual-integrations))
 \f
-(set-working-directory-pathname! "$zcomp")
+;(set-working-directory-pathname! "$zcomp")
 ;(load "base/rcs" system-global-environment)
 (load "base/pkging" system-global-environment)
 
@@ -46,11 +46,11 @@ MIT in each case. |#
     (make-environment
       (define :name "Liar (Bobcat 68020)")
       (define :version 1)
-      (define :modification 38)
+      (define :modification 39)
       (define :files)
 
 ;      (parse-rcs-header
-;       "$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 1.38 1987/07/30 21:44:39 jinx Exp $"
+;       "$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 1.39 1987/07/31 02:18:55 cph Exp $"
 ;       (lambda (filename version date time zone author state)
 ;       (set! :version (car version))
 ;       (set! :modification (cadr version))))
@@ -179,5 +179,8 @@ MIT in each case. |#
   (load-system! compiler-system true)
   (compiler-package/initialize!))
 
-(%ge compiler-package)
-(%gst (access compiler-syntax-table compiler-package))
\ No newline at end of file
+(for-each (lambda (name)
+           (local-assignment system-global-environment name
+                             (lexical-reference compiler-package name)))
+         '(COMPILE-BIN-FILE COMPILE-PROCEDURE COMPILER:RESET!))
+(toggle-gc-notification!)
\ No newline at end of file