SYSTEM-GLOBAL-SYNTAX-TABLE and EXTEND-IC-ENVIRONMENT to ease upgrading.
#| -*-Scheme-*-
-$Id: make.scm,v 14.84 2002/02/03 03:38:56 cph Exp $
+$Id: make.scm,v 14.85 2002/02/12 00:30:39 cph Exp $
Copyright (c) 1988-2002 Massachusetts Institute of Technology
val)))))
(define system-global-environment #f)
+;; This simplifies upgrading to new macros:
+(define system-global-syntax-table system-global-environment)
;; *MAKE-ENVIRONMENT is referred to by compiled code. It must go
;; before the uses of the-environment later, and after apply above.
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.407 2002/02/03 03:38:56 cph Exp $
+$Id: runtime.pkg,v 14.408 2002/02/12 00:30:51 cph Exp $
Copyright (c) 1988-2002 Massachusetts Institute of Technology
environment-reference-type
environment-safe-lookup
environment?
+ (extend-ic-environment extend-interpreter-environment)
extend-interpreter-environment
guarantee-environment
ic-environment?
parse-mit-lambda-list
r4rs-lambda-list?
sc-macro-transformer->expander
+ reverse-syntactic-environments
rsc-macro-transformer->expander
strip-syntactic-closures
syntactic-closure-rtd
;;; -*-Scheme-*-
;;;
-;;; $Id: syntactic-closures.scm,v 14.2 2002/02/08 17:31:58 cph Exp $
+;;; $Id: syntactic-closures.scm,v 14.3 2002/02/12 00:30:29 cph Exp $
;;;
;;; Copyright (c) 1989-1991, 2001, 2002 Massachusetts Institute of Technology
;;;
(define (make-name-generator)
(let ((state (make-rename-state)))
(lambda (identifier)
- (rename-identifier identifier state))))
\ No newline at end of file
+ (rename-identifier identifier state))))
+
+(define (reverse-syntactic-environments environment procedure)
+ (capture-syntactic-environment
+ (lambda (closing-environment)
+ (close-syntax (procedure closing-environment) environment))))
\ No newline at end of file