->syntactic-environment
bind-variable!
make-internal-syntactic-environment
+ make-keyword-syntactic-environment
make-partial-syntactic-environment
make-top-level-syntactic-environment
null-syntactic-environment
(item->keyword (make-compiler-item compiler)))
(define (item->keyword item)
- (let ((environment
- (make-internal-syntactic-environment null-syntactic-environment)))
- (syntactic-environment/define environment 'KEYWORD item)
- (close-syntax 'KEYWORD environment)))
+ (close-syntax 'keyword (make-keyword-syntactic-environment 'keyword item)))
(define (capture-syntactic-environment expander)
`(,(classifier->keyword