From: Chris Hanson Date: Fri, 31 Jul 1987 02:18:55 +0000 (+0000) Subject: Export some procedures from the compiler-package to the global X-Git-Tag: 20090517-FFI~13197 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=1922a6d7533f361a2fd33cfe3b4be44323ff6636;p=mit-scheme.git Export some procedures from the compiler-package to the global environment. Do not change the default directory or environment or syntax table when loading the compiler. --- diff --git a/v7/src/compiler/machines/bobcat/make.scm-68040 b/v7/src/compiler/machines/bobcat/make.scm-68040 index 26d85d821..f7dd99ffc 100644 --- a/v7/src/compiler/machines/bobcat/make.scm-68040 +++ b/v7/src/compiler/machines/bobcat/make.scm-68040 @@ -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)) -(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