diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:29 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:29 -0800 |
commit | 8466d8cfa486fb30d1755c4261b781135083787b (patch) | |
tree | c8c12c67246f543c3cc4f64d1c07e003cb1d45ae /synclo.scm | |
parent | 87b82b5822ca54228cfa6df29be3ad9d4bc47d16 (diff) | |
download | slib-8466d8cfa486fb30d1755c4261b781135083787b.tar.gz slib-8466d8cfa486fb30d1755c4261b781135083787b.zip |
Import Upstream version 3a1upstream/3a1
Diffstat (limited to 'synclo.scm')
-rw-r--r-- | synclo.scm | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -20,7 +20,7 @@ ;;; software shall duly acknowledge such use, in accordance with the ;;; usual standards of acknowledging credit in academic research. ;;; -;;; 4. MIT has made no warrantee or representation that the operation +;;; 4. MIT has made no warranty or representation that the operation ;;; of this software will be error-free, and MIT is under no ;;; obligation to provide any services, by way of maintenance, update, ;;; or otherwise. @@ -194,7 +194,7 @@ (define syntactic-closure-type (make-record-type "syntactic-closure" '(ENVIRONMENT FREE-NAMES FORM))) - +;@ (define make-syntactic-closure (record-constructor syntactic-closure-type '(ENVIRONMENT FREE-NAMES FORM))) @@ -230,7 +230,7 @@ result))) (else object))) - +;@ (define (identifier? object) (or (symbol? object) (synthetic-identifier? object))) @@ -246,7 +246,7 @@ (identifier->symbol (syntactic-closure/form identifier))) (else (impl-error "not an identifier" identifier)))) - +;@ (define (identifier=? environment-1 identifier-1 environment-2 identifier-2) (let ((item-1 (syntactic-environment/lookup environment-1 identifier-1)) (item-2 (syntactic-environment/lookup environment-2 identifier-2))) @@ -541,7 +541,7 @@ ((definition-item/binding-theory item) environment (definition-item/name item) - (promise:force (definition-item/value item)))) + (force (definition-item/value item)))) (define (syntactic-binding-theory environment name item) (if (or (keyword-item? item) @@ -684,7 +684,7 @@ (for-each (lambda (name) (syntactic-environment/define! environment name item)) names))) - +;@ (define (capture-syntactic-environment expander) (classifier->form (lambda (form environment definition-environment) |