Rename MAKE-NULL-TOP-LEVEL-ENVIRONMENT to MAKE-ROOT-TOP-LEVEL-ENVIRONMENT.
authorChris Hanson <org/chris-hanson/cph>
Wed, 13 Feb 2002 01:06:02 +0000 (01:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 13 Feb 2002 01:06:02 +0000 (01:06 +0000)
Eliminate alias for EXTEND-INTERPRETER-ENVIRONMENT.

v7/src/compiler/etc/disload.scm
v7/src/edwin/intmod.scm
v7/src/imail/fake-env.scm
v7/src/runtime/option.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/uenvir.scm
v7/src/runtime/xeval.scm
v7/src/swat/scheme/load.scm

index b54ca029f94533a241e616100f2c4740bceb253f..2dc6376d97f95ef6dcba7e1f1abb35bfac3b2f6a 100644 (file)
@@ -1,8 +1,8 @@
 #| -*-Scheme-*-
 
-$Id: disload.scm,v 1.11 2001/12/20 18:01:28 cph Exp $
+$Id: disload.scm,v 1.12 2002/02/13 01:05:22 cph Exp $
 
-Copyright (c) 1993, 1999, 2001 Massachusetts Institute of Technology
+Copyright (c) 1993, 1999, 2001, 2002 Massachusetts Institute of Technology
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -39,7 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
             (disassembler
              (package/add-child! parent
                                  'disassembler
-                                 (extend-interpreter-environment parenv))))
+                                 (extend-top-level-environment parenv))))
        (let ((disenv (package/environment disassembler))
              (global system-global-environment)
              (compinfo (package/environment
index 89774d19d2e092392bc2ac221875e6334f50e8df..16321c99fb5ba24a24de0e4d7e903836707145ce 100644 (file)
@@ -1,8 +1,8 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: intmod.scm,v 1.115 2001/12/19 05:25:39 cph Exp $
+;;; $Id: intmod.scm,v 1.116 2002/02/13 01:05:37 cph Exp $
 ;;;
-;;; Copyright (c) 1986, 1989-2001 Massachusetts Institute of Technology
+;;; Copyright (c) 1986, 1989-2002 Massachusetts Institute of Technology
 ;;;
 ;;; This program is free software; you can redistribute it and/or
 ;;; modify it under the terms of the GNU General Public License as
@@ -77,7 +77,7 @@ With two C-u's, creates a new REPL buffer with a new evaluation environment.
                  repl-buffer))))
         (if (>= argument 16)
             (make-new
-             (extend-interpreter-environment system-global-environment))
+             (extend-top-level-environment system-global-environment))
             (or (and (< argument 4) (current-repl-buffer* buffer))
                 (make-new user-initial-environment))))))))
 
index a578a08e49e7d0297007e401d6423ae38c98e7e3..f72aa543b6c78e05d7700988f52d04a71adf9593 100644 (file)
@@ -3,7 +3,7 @@
         (let ((package (name->package parent)))
           (package/add-child! package
                               name
-                              (extend-interpreter-environment
+                              (extend-top-level-environment
                                (package/environment package)))))))
   (new-child '(EDWIN) 'IMAIL)
   (new-child '(EDWIN IMAIL) 'IMAP-RESPONSE)
index 464be922ddd7dc7c46d2805ec926f3efc1848f1a..8f2217c54112c13d7e800256d7635af6c0bb999b 100644 (file)
@@ -1,8 +1,8 @@
 #| -*-Scheme-*-
 
-$Id: option.scm,v 14.39 2001/12/19 20:50:44 cph Exp $
+$Id: option.scm,v 14.40 2002/02/13 01:04:50 cph Exp $
 
-Copyright (c) 1988-2001 Massachusetts Institute of Technology
+Copyright (c) 1988-2002 Massachusetts Institute of Technology
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -54,7 +54,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        find-option))
 
     (define (make-load-environment)
-      (extend-interpreter-environment system-global-environment))
+      (extend-top-level-environment system-global-environment))
 
     (fluid-let ((*parser-canonicalize-symbols?* #t))
       (if (memq name loaded-options)
index 56ed880f49423ea04b9d677f703cd074c394ea42..9ee5383778f71ec1c8363b9c2afd117a6717a213 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: runtime.pkg,v 14.409 2002/02/12 15:14:21 cph Exp $
+$Id: runtime.pkg,v 14.410 2002/02/13 01:03:13 cph Exp $
 
 Copyright (c) 1988-2002 Massachusetts Institute of Technology
 
@@ -1323,13 +1323,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
          environment-safe-lookup
          environment?
          (extend-ic-environment extend-top-level-environment)
-         (extend-interpreter-environment extend-top-level-environment)
          extend-top-level-environment
          guarantee-environment
          ic-environment?
          interpreter-environment?
-         (make-null-interpreter-environment make-null-top-level-environment)
-         make-null-top-level-environment
+         (make-null-interpreter-environment make-root-top-level-environment)
+         make-root-top-level-environment
          system-global-environment?
          (top-level-environment? interpreter-environment?))
   (export (runtime advice)
index d0d4182cc2d00d8a9a5e6f34bef2acef8cdf5b40..33a75c3a601bd3bbb55f73f3b3ceefd69d9f3c8e 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: uenvir.scm,v 14.55 2002/02/12 21:17:30 cph Exp $
+$Id: uenvir.scm,v 14.56 2002/02/13 01:02:55 cph Exp $
 
 Copyright (c) 1988-1999, 2001, 2002 Massachusetts Institute of Technology
 
@@ -421,12 +421,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    (if (default-object? values) 'DEFAULT values)
    'EXTEND-TOP-LEVEL-ENVIRONMENT))
 
-(define (make-null-top-level-environment #!optional names values)
+(define (make-root-top-level-environment #!optional names values)
   (%extend-top-level-environment
    (object-new-type (object-type #f) (fix:xor (object-datum #f) 1))
    (if (default-object? names) '() names)
    (if (default-object? values) 'DEFAULT values)
-   'MAKE-NULL-TOP-LEVEL-ENVIRONMENT))
+   'MAKE-ROOT-TOP-LEVEL-ENVIRONMENT))
 
 (define (%extend-top-level-environment environment names values procedure)
   (if (not (list-of-type? names symbol?))
index 12e42bd6960460d8d07d10c4e087cb58bae07273..23ab70ee08b6ec97638fcdef407f94f86fa43ef8 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: xeval.scm,v 1.9 2002/01/05 06:15:10 cph Exp $
+$Id: xeval.scm,v 1.10 2002/02/13 01:06:02 cph Exp $
 
 Copyright (c) 1989-1999, 2001, 2002 Massachusetts Institute of Technology
 
@@ -66,7 +66,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
            (if (environment-has-parent? environment)
                (loop bound-names (environment-parent environment))
                (finish bound-names
-                       (make-null-interpreter-environment))))))))
+                       (make-root-top-level-environment))))))))
 
 (define (difference items items*)
   (list-transform-negative items
index 72582f337957a4fdd614df15f14453b122a0aa27..e1c542c86c091c486b0dee2046f586388346420c 100644 (file)
@@ -19,7 +19,7 @@
 
 
 
-(let ((swat-env (extend-interpreter-environment system-global-environment)))
+(let ((swat-env (extend-top-level-environment system-global-environment)))
 
   (package/add-child! (find-package '()) 'SWAT swat-env)