summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-03-06 19:37:44 +0100
committerAndy Wingo <wingo@pobox.com>2009-03-06 19:37:44 +0100
commit35289f24eef5b85d34dd8be4eb847797b2551ece (patch)
treec695daa1937a48a9a37fc7178217ea7e5a95da61
parent52381a17c4972a0d1cb00cbb50857e1412e6fabf (diff)
downloadguile-35289f24eef5b85d34dd8be4eb847797b2551ece.tar.gz
modify psyntax so it produced annotated source if given annotated source
* module/ice-9/psyntax.scm (build-annotated): New helper, used by the output constructors. (build-application, build-conditional, build-lexical-reference) (build-lexical-assignment, build-global-reference) (build-global-assignment, build-global-definition, build-lambda) (build-primref, build-data, build-sequence, build-let) (build-named-let, build-letrec, build-lexical-var): Use build-annotated, so we produce annotated source if we have source information. * module/ice-9/psyntax-pp.scm: Regenerated.
-rw-r--r--module/ice-9/psyntax-pp.scm22
-rw-r--r--module/ice-9/psyntax.scm52
2 files changed, 40 insertions, 34 deletions
diff --git a/module/ice-9/psyntax-pp.scm b/module/ice-9/psyntax-pp.scm
index 2bc1a2d4d..e2669803c 100644
--- a/module/ice-9/psyntax-pp.scm
+++ b/module/ice-9/psyntax-pp.scm
@@ -1,11 +1,11 @@
-(letrec ((syntmp-lambda-var-list-163 (lambda (syntmp-vars-548) (let syntmp-lvl-549 ((syntmp-vars-550 syntmp-vars-548) (syntmp-ls-551 (quote ())) (syntmp-w-552 (quote (())))) (cond ((pair? syntmp-vars-550) (syntmp-lvl-549 (cdr syntmp-vars-550) (cons (syntmp-wrap-142 (car syntmp-vars-550) syntmp-w-552) syntmp-ls-551) syntmp-w-552)) ((syntmp-id?-114 syntmp-vars-550) (cons (syntmp-wrap-142 syntmp-vars-550 syntmp-w-552) syntmp-ls-551)) ((null? syntmp-vars-550) syntmp-ls-551) ((syntmp-syntax-object?-100 syntmp-vars-550) (syntmp-lvl-549 (syntmp-syntax-object-expression-101 syntmp-vars-550) syntmp-ls-551 (syntmp-join-wraps-133 syntmp-w-552 (syntmp-syntax-object-wrap-102 syntmp-vars-550)))) ((annotation? syntmp-vars-550) (syntmp-lvl-549 (annotation-expression syntmp-vars-550) syntmp-ls-551 syntmp-w-552)) (else (cons syntmp-vars-550 syntmp-ls-551)))))) (syntmp-gen-var-162 (lambda (syntmp-id-553) (let ((syntmp-id-554 (if (syntmp-syntax-object?-100 syntmp-id-553) (syntmp-syntax-object-expression-101 syntmp-id-553) syntmp-id-553))) (if (annotation? syntmp-id-554) (gensym (symbol->string (annotation-expression syntmp-id-554))) (gensym (symbol->string syntmp-id-554)))))) (syntmp-strip-161 (lambda (syntmp-x-555 syntmp-w-556) (if (memq (quote top) (syntmp-wrap-marks-117 syntmp-w-556)) (if (or (annotation? syntmp-x-555) (and (pair? syntmp-x-555) (annotation? (car syntmp-x-555)))) (syntmp-strip-annotation-160 syntmp-x-555 #f) syntmp-x-555) (let syntmp-f-557 ((syntmp-x-558 syntmp-x-555)) (cond ((syntmp-syntax-object?-100 syntmp-x-558) (syntmp-strip-161 (syntmp-syntax-object-expression-101 syntmp-x-558) (syntmp-syntax-object-wrap-102 syntmp-x-558))) ((pair? syntmp-x-558) (let ((syntmp-a-559 (syntmp-f-557 (car syntmp-x-558))) (syntmp-d-560 (syntmp-f-557 (cdr syntmp-x-558)))) (if (and (eq? syntmp-a-559 (car syntmp-x-558)) (eq? syntmp-d-560 (cdr syntmp-x-558))) syntmp-x-558 (cons syntmp-a-559 syntmp-d-560)))) ((vector? syntmp-x-558) (let ((syntmp-old-561 (vector->list syntmp-x-558))) (let ((syntmp-new-562 (map syntmp-f-557 syntmp-old-561))) (if (andmap eq? syntmp-old-561 syntmp-new-562) syntmp-x-558 (list->vector syntmp-new-562))))) (else syntmp-x-558)))))) (syntmp-strip-annotation-160 (lambda (syntmp-x-563 syntmp-parent-564) (cond ((pair? syntmp-x-563) (let ((syntmp-new-565 (cons #f #f))) (begin (when syntmp-parent-564 (set-annotation-stripped! syntmp-parent-564 syntmp-new-565)) (set-car! syntmp-new-565 (syntmp-strip-annotation-160 (car syntmp-x-563) #f)) (set-cdr! syntmp-new-565 (syntmp-strip-annotation-160 (cdr syntmp-x-563) #f)) syntmp-new-565))) ((annotation? syntmp-x-563) (or (annotation-stripped syntmp-x-563) (syntmp-strip-annotation-160 (annotation-expression syntmp-x-563) syntmp-x-563))) ((vector? syntmp-x-563) (let ((syntmp-new-566 (make-vector (vector-length syntmp-x-563)))) (begin (when syntmp-parent-564 (set-annotation-stripped! syntmp-parent-564 syntmp-new-566)) (let syntmp-loop-567 ((syntmp-i-568 (- (vector-length syntmp-x-563) 1))) (unless (syntmp-fx<-88 syntmp-i-568 0) (vector-set! syntmp-new-566 syntmp-i-568 (syntmp-strip-annotation-160 (vector-ref syntmp-x-563 syntmp-i-568) #f)) (syntmp-loop-567 (syntmp-fx--86 syntmp-i-568 1)))) syntmp-new-566))) (else syntmp-x-563)))) (syntmp-ellipsis?-159 (lambda (syntmp-x-569) (and (syntmp-nonsymbol-id?-113 syntmp-x-569) (syntmp-free-id=?-137 syntmp-x-569 (quote #(syntax-object ... ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))))))) (syntmp-chi-void-158 (lambda () (list (quote void)))) (syntmp-eval-local-transformer-157 (lambda (syntmp-expanded-570) (let ((syntmp-p-571 (syntmp-local-eval-hook-90 syntmp-expanded-570))) (if (procedure? syntmp-p-571) syntmp-p-571 (syntax-error syntmp-p-571 "nonprocedure transformer"))))) (syntmp-chi-local-syntax-156 (lambda (syntmp-rec?-572 syntmp-e-573 syntmp-r-574 syntmp-w-575 syntmp-s-576 syntmp-k-577) ((lambda (syntmp-tmp-578) ((lambda (syntmp-tmp-579) (if syntmp-tmp-579 (apply (lambda (syntmp-_-580 syntmp-id-581 syntmp-val-582 syntmp-e1-583 syntmp-e2-584) (let ((syntmp-ids-585 syntmp-id-581)) (if (not (syntmp-valid-bound-ids?-139 syntmp-ids-585)) (syntax-error syntmp-e-573 "duplicate bound keyword in") (let ((syntmp-labels-587 (syntmp-gen-labels-120 syntmp-ids-585))) (let ((syntmp-new-w-588 (syntmp-make-binding-wrap-131 syntmp-ids-585 syntmp-labels-587 syntmp-w-575))) (syntmp-k-577 (cons syntmp-e1-583 syntmp-e2-584) (syntmp-extend-env-108 syntmp-labels-587 (let ((syntmp-w-590 (if syntmp-rec?-572 syntmp-new-w-588 syntmp-w-575)) (syntmp-trans-r-591 (syntmp-macros-only-env-110 syntmp-r-574))) (map (lambda (syntmp-x-592) (cons (quote macro) (syntmp-eval-local-transformer-157 (syntmp-chi-150 syntmp-x-592 syntmp-trans-r-591 syntmp-w-590)))) syntmp-val-582)) syntmp-r-574) syntmp-new-w-588 syntmp-s-576)))))) syntmp-tmp-579) ((lambda (syntmp-_-594) (syntax-error (syntmp-source-wrap-143 syntmp-e-573 syntmp-w-575 syntmp-s-576))) syntmp-tmp-578))) (syntax-dispatch syntmp-tmp-578 (quote (any #(each (any any)) any . each-any))))) syntmp-e-573))) (syntmp-chi-lambda-clause-155 (lambda (syntmp-e-595 syntmp-c-596 syntmp-r-597 syntmp-w-598 syntmp-k-599) ((lambda (syntmp-tmp-600) ((lambda (syntmp-tmp-601) (if syntmp-tmp-601 (apply (lambda (syntmp-id-602 syntmp-e1-603 syntmp-e2-604) (let ((syntmp-ids-605 syntmp-id-602)) (if (not (syntmp-valid-bound-ids?-139 syntmp-ids-605)) (syntax-error syntmp-e-595 "invalid parameter list in") (let ((syntmp-labels-607 (syntmp-gen-labels-120 syntmp-ids-605)) (syntmp-new-vars-608 (map syntmp-gen-var-162 syntmp-ids-605))) (syntmp-k-599 syntmp-new-vars-608 (syntmp-chi-body-154 (cons syntmp-e1-603 syntmp-e2-604) syntmp-e-595 (syntmp-extend-var-env-109 syntmp-labels-607 syntmp-new-vars-608 syntmp-r-597) (syntmp-make-binding-wrap-131 syntmp-ids-605 syntmp-labels-607 syntmp-w-598))))))) syntmp-tmp-601) ((lambda (syntmp-tmp-610) (if syntmp-tmp-610 (apply (lambda (syntmp-ids-611 syntmp-e1-612 syntmp-e2-613) (let ((syntmp-old-ids-614 (syntmp-lambda-var-list-163 syntmp-ids-611))) (if (not (syntmp-valid-bound-ids?-139 syntmp-old-ids-614)) (syntax-error syntmp-e-595 "invalid parameter list in") (let ((syntmp-labels-615 (syntmp-gen-labels-120 syntmp-old-ids-614)) (syntmp-new-vars-616 (map syntmp-gen-var-162 syntmp-old-ids-614))) (syntmp-k-599 (let syntmp-f-617 ((syntmp-ls1-618 (cdr syntmp-new-vars-616)) (syntmp-ls2-619 (car syntmp-new-vars-616))) (if (null? syntmp-ls1-618) syntmp-ls2-619 (syntmp-f-617 (cdr syntmp-ls1-618) (cons (car syntmp-ls1-618) syntmp-ls2-619)))) (syntmp-chi-body-154 (cons syntmp-e1-612 syntmp-e2-613) syntmp-e-595 (syntmp-extend-var-env-109 syntmp-labels-615 syntmp-new-vars-616 syntmp-r-597) (syntmp-make-binding-wrap-131 syntmp-old-ids-614 syntmp-labels-615 syntmp-w-598))))))) syntmp-tmp-610) ((lambda (syntmp-_-621) (syntax-error syntmp-e-595)) syntmp-tmp-600))) (syntax-dispatch syntmp-tmp-600 (quote (any any . each-any)))))) (syntax-dispatch syntmp-tmp-600 (quote (each-any any . each-any))))) syntmp-c-596))) (syntmp-chi-body-154 (lambda (syntmp-body-622 syntmp-outer-form-623 syntmp-r-624 syntmp-w-625) (let ((syntmp-r-626 (cons (quote ("placeholder" placeholder)) syntmp-r-624))) (let ((syntmp-ribcage-627 (syntmp-make-ribcage-121 (quote ()) (quote ()) (quote ())))) (let ((syntmp-w-628 (syntmp-make-wrap-116 (syntmp-wrap-marks-117 syntmp-w-625) (cons syntmp-ribcage-627 (syntmp-wrap-subst-118 syntmp-w-625))))) (let syntmp-parse-629 ((syntmp-body-630 (map (lambda (syntmp-x-636) (cons syntmp-r-626 (syntmp-wrap-142 syntmp-x-636 syntmp-w-628))) syntmp-body-622)) (syntmp-ids-631 (quote ())) (syntmp-labels-632 (quote ())) (syntmp-vars-633 (quote ())) (syntmp-vals-634 (quote ())) (syntmp-bindings-635 (quote ()))) (if (null? syntmp-body-630) (syntax-error syntmp-outer-form-623 "no expressions in body") (let ((syntmp-e-637 (cdar syntmp-body-630)) (syntmp-er-638 (caar syntmp-body-630))) (call-with-values (lambda () (syntmp-syntax-type-148 syntmp-e-637 syntmp-er-638 (quote (())) #f syntmp-ribcage-627)) (lambda (syntmp-type-639 syntmp-value-640 syntmp-e-641 syntmp-w-642 syntmp-s-643) (let ((syntmp-t-644 syntmp-type-639)) (if (memv syntmp-t-644 (quote (define-form))) (let ((syntmp-id-645 (syntmp-wrap-142 syntmp-value-640 syntmp-w-642)) (syntmp-label-646 (syntmp-gen-label-119))) (let ((syntmp-var-647 (syntmp-gen-var-162 syntmp-id-645))) (begin (syntmp-extend-ribcage!-130 syntmp-ribcage-627 syntmp-id-645 syntmp-label-646) (syntmp-parse-629 (cdr syntmp-body-630) (cons syntmp-id-645 syntmp-ids-631) (cons syntmp-label-646 syntmp-labels-632) (cons syntmp-var-647 syntmp-vars-633) (cons (cons syntmp-er-638 (syntmp-wrap-142 syntmp-e-641 syntmp-w-642)) syntmp-vals-634) (cons (cons (quote lexical) syntmp-var-647) syntmp-bindings-635))))) (if (memv syntmp-t-644 (quote (define-syntax-form))) (let ((syntmp-id-648 (syntmp-wrap-142 syntmp-value-640 syntmp-w-642)) (syntmp-label-649 (syntmp-gen-label-119))) (begin (syntmp-extend-ribcage!-130 syntmp-ribcage-627 syntmp-id-648 syntmp-label-649) (syntmp-parse-629 (cdr syntmp-body-630) (cons syntmp-id-648 syntmp-ids-631) (cons syntmp-label-649 syntmp-labels-632) syntmp-vars-633 syntmp-vals-634 (cons (cons (quote macro) (cons syntmp-er-638 (syntmp-wrap-142 syntmp-e-641 syntmp-w-642))) syntmp-bindings-635)))) (if (memv syntmp-t-644 (quote (begin-form))) ((lambda (syntmp-tmp-650) ((lambda (syntmp-tmp-651) (if syntmp-tmp-651 (apply (lambda (syntmp-_-652 syntmp-e1-653) (syntmp-parse-629 (let syntmp-f-654 ((syntmp-forms-655 syntmp-e1-653)) (if (null? syntmp-forms-655) (cdr syntmp-body-630) (cons (cons syntmp-er-638 (syntmp-wrap-142 (car syntmp-forms-655) syntmp-w-642)) (syntmp-f-654 (cdr syntmp-forms-655))))) syntmp-ids-631 syntmp-labels-632 syntmp-vars-633 syntmp-vals-634 syntmp-bindings-635)) syntmp-tmp-651) (syntax-error syntmp-tmp-650))) (syntax-dispatch syntmp-tmp-650 (quote (any . each-any))))) syntmp-e-641) (if (memv syntmp-t-644 (quote (local-syntax-form))) (syntmp-chi-local-syntax-156 syntmp-value-640 syntmp-e-641 syntmp-er-638 syntmp-w-642 syntmp-s-643 (lambda (syntmp-forms-657 syntmp-er-658 syntmp-w-659 syntmp-s-660) (syntmp-parse-629 (let syntmp-f-661 ((syntmp-forms-662 syntmp-forms-657)) (if (null? syntmp-forms-662) (cdr syntmp-body-630) (cons (cons syntmp-er-658 (syntmp-wrap-142 (car syntmp-forms-662) syntmp-w-659)) (syntmp-f-661 (cdr syntmp-forms-662))))) syntmp-ids-631 syntmp-labels-632 syntmp-vars-633 syntmp-vals-634 syntmp-bindings-635))) (if (null? syntmp-ids-631) (syntmp-build-sequence-95 #f (map (lambda (syntmp-x-663) (syntmp-chi-150 (cdr syntmp-x-663) (car syntmp-x-663) (quote (())))) (cons (cons syntmp-er-638 (syntmp-source-wrap-143 syntmp-e-641 syntmp-w-642 syntmp-s-643)) (cdr syntmp-body-630)))) (begin (if (not (syntmp-valid-bound-ids?-139 syntmp-ids-631)) (syntax-error syntmp-outer-form-623 "invalid or duplicate identifier in definition")) (let syntmp-loop-664 ((syntmp-bs-665 syntmp-bindings-635) (syntmp-er-cache-666 #f) (syntmp-r-cache-667 #f)) (if (not (null? syntmp-bs-665)) (let ((syntmp-b-668 (car syntmp-bs-665))) (if (eq? (car syntmp-b-668) (quote macro)) (let ((syntmp-er-669 (cadr syntmp-b-668))) (let ((syntmp-r-cache-670 (if (eq? syntmp-er-669 syntmp-er-cache-666) syntmp-r-cache-667 (syntmp-macros-only-env-110 syntmp-er-669)))) (begin (set-cdr! syntmp-b-668 (syntmp-eval-local-transformer-157 (syntmp-chi-150 (cddr syntmp-b-668) syntmp-r-cache-670 (quote (()))))) (syntmp-loop-664 (cdr syntmp-bs-665) syntmp-er-669 syntmp-r-cache-670)))) (syntmp-loop-664 (cdr syntmp-bs-665) syntmp-er-cache-666 syntmp-r-cache-667))))) (set-cdr! syntmp-r-626 (syntmp-extend-env-108 syntmp-labels-632 syntmp-bindings-635 (cdr syntmp-r-626))) (syntmp-build-letrec-98 #f syntmp-vars-633 (map (lambda (syntmp-x-671) (syntmp-chi-150 (cdr syntmp-x-671) (car syntmp-x-671) (quote (())))) syntmp-vals-634) (syntmp-build-sequence-95 #f (map (lambda (syntmp-x-672) (syntmp-chi-150 (cdr syntmp-x-672) (car syntmp-x-672) (quote (())))) (cons (cons syntmp-er-638 (syntmp-source-wrap-143 syntmp-e-641 syntmp-w-642 syntmp-s-643)) (cdr syntmp-body-630)))))))))))))))))))))) (syntmp-chi-macro-153 (lambda (syntmp-p-673 syntmp-e-674 syntmp-r-675 syntmp-w-676 syntmp-rib-677) (letrec ((syntmp-rebuild-macro-output-678 (lambda (syntmp-x-679 syntmp-m-680) (cond ((pair? syntmp-x-679) (cons (syntmp-rebuild-macro-output-678 (car syntmp-x-679) syntmp-m-680) (syntmp-rebuild-macro-output-678 (cdr syntmp-x-679) syntmp-m-680))) ((syntmp-syntax-object?-100 syntmp-x-679) (let ((syntmp-w-681 (syntmp-syntax-object-wrap-102 syntmp-x-679))) (let ((syntmp-ms-682 (syntmp-wrap-marks-117 syntmp-w-681)) (syntmp-s-683 (syntmp-wrap-subst-118 syntmp-w-681))) (syntmp-make-syntax-object-99 (syntmp-syntax-object-expression-101 syntmp-x-679) (if (and (pair? syntmp-ms-682) (eq? (car syntmp-ms-682) #f)) (syntmp-make-wrap-116 (cdr syntmp-ms-682) (if syntmp-rib-677 (cons syntmp-rib-677 (cdr syntmp-s-683)) (cdr syntmp-s-683))) (syntmp-make-wrap-116 (cons syntmp-m-680 syntmp-ms-682) (if syntmp-rib-677 (cons syntmp-rib-677 (cons (quote shift) syntmp-s-683)) (cons (quote shift) syntmp-s-683)))))))) ((vector? syntmp-x-679) (let ((syntmp-n-684 (vector-length syntmp-x-679))) (let ((syntmp-v-685 (make-vector syntmp-n-684))) (let syntmp-doloop-686 ((syntmp-i-687 0)) (if (syntmp-fx=-87 syntmp-i-687 syntmp-n-684) syntmp-v-685 (begin (vector-set! syntmp-v-685 syntmp-i-687 (syntmp-rebuild-macro-output-678 (vector-ref syntmp-x-679 syntmp-i-687) syntmp-m-680)) (syntmp-doloop-686 (syntmp-fx+-85 syntmp-i-687 1)))))))) ((symbol? syntmp-x-679) (syntax-error syntmp-x-679 "encountered raw symbol in macro output")) (else syntmp-x-679))))) (syntmp-rebuild-macro-output-678 (syntmp-p-673 (syntmp-wrap-142 syntmp-e-674 (syntmp-anti-mark-129 syntmp-w-676))) (string #\m))))) (syntmp-chi-application-152 (lambda (syntmp-x-688 syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) ((lambda (syntmp-tmp-693) ((lambda (syntmp-tmp-694) (if syntmp-tmp-694 (apply (lambda (syntmp-e0-695 syntmp-e1-696) (cons syntmp-x-688 (map (lambda (syntmp-e-697) (syntmp-chi-150 syntmp-e-697 syntmp-r-690 syntmp-w-691)) syntmp-e1-696))) syntmp-tmp-694) (syntax-error syntmp-tmp-693))) (syntax-dispatch syntmp-tmp-693 (quote (any . each-any))))) syntmp-e-689))) (syntmp-chi-expr-151 (lambda (syntmp-type-699 syntmp-value-700 syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704) (let ((syntmp-t-705 syntmp-type-699)) (if (memv syntmp-t-705 (quote (lexical))) syntmp-value-700 (if (memv syntmp-t-705 (quote (core external-macro))) (syntmp-value-700 syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704) (if (memv syntmp-t-705 (quote (lexical-call))) (syntmp-chi-application-152 syntmp-value-700 syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704) (if (memv syntmp-t-705 (quote (global-call))) (syntmp-chi-application-152 syntmp-value-700 syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704) (if (memv syntmp-t-705 (quote (constant))) (syntmp-build-data-94 syntmp-s-704 (syntmp-strip-161 (syntmp-source-wrap-143 syntmp-e-701 syntmp-w-703 syntmp-s-704) (quote (())))) (if (memv syntmp-t-705 (quote (global))) syntmp-value-700 (if (memv syntmp-t-705 (quote (call))) (syntmp-chi-application-152 (syntmp-chi-150 (car syntmp-e-701) syntmp-r-702 syntmp-w-703) syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704) (if (memv syntmp-t-705 (quote (begin-form))) ((lambda (syntmp-tmp-706) ((lambda (syntmp-tmp-707) (if syntmp-tmp-707 (apply (lambda (syntmp-_-708 syntmp-e1-709 syntmp-e2-710) (syntmp-chi-sequence-144 (cons syntmp-e1-709 syntmp-e2-710) syntmp-r-702 syntmp-w-703 syntmp-s-704)) syntmp-tmp-707) (syntax-error syntmp-tmp-706))) (syntax-dispatch syntmp-tmp-706 (quote (any any . each-any))))) syntmp-e-701) (if (memv syntmp-t-705 (quote (local-syntax-form))) (syntmp-chi-local-syntax-156 syntmp-value-700 syntmp-e-701 syntmp-r-702 syntmp-w-703 syntmp-s-704 syntmp-chi-sequence-144) (if (memv syntmp-t-705 (quote (eval-when-form))) ((lambda (syntmp-tmp-712) ((lambda (syntmp-tmp-713) (if syntmp-tmp-713 (apply (lambda (syntmp-_-714 syntmp-x-715 syntmp-e1-716 syntmp-e2-717) (let ((syntmp-when-list-718 (syntmp-chi-when-list-147 syntmp-e-701 syntmp-x-715 syntmp-w-703))) (if (memq (quote eval) syntmp-when-list-718) (syntmp-chi-sequence-144 (cons syntmp-e1-716 syntmp-e2-717) syntmp-r-702 syntmp-w-703 syntmp-s-704) (syntmp-chi-void-158)))) syntmp-tmp-713) (syntax-error syntmp-tmp-712))) (syntax-dispatch syntmp-tmp-712 (quote (any each-any any . each-any))))) syntmp-e-701) (if (memv syntmp-t-705 (quote (define-form define-syntax-form))) (syntax-error (syntmp-wrap-142 syntmp-value-700 syntmp-w-703) "invalid context for definition of") (if (memv syntmp-t-705 (quote (syntax))) (syntax-error (syntmp-source-wrap-143 syntmp-e-701 syntmp-w-703 syntmp-s-704) "reference to pattern variable outside syntax form") (if (memv syntmp-t-705 (quote (displaced-lexical))) (syntax-error (syntmp-source-wrap-143 syntmp-e-701 syntmp-w-703 syntmp-s-704) "reference to identifier outside its scope") (syntax-error (syntmp-source-wrap-143 syntmp-e-701 syntmp-w-703 syntmp-s-704)))))))))))))))))) (syntmp-chi-150 (lambda (syntmp-e-721 syntmp-r-722 syntmp-w-723) (call-with-values (lambda () (syntmp-syntax-type-148 syntmp-e-721 syntmp-r-722 syntmp-w-723 #f #f)) (lambda (syntmp-type-724 syntmp-value-725 syntmp-e-726 syntmp-w-727 syntmp-s-728) (syntmp-chi-expr-151 syntmp-type-724 syntmp-value-725 syntmp-e-726 syntmp-r-722 syntmp-w-727 syntmp-s-728))))) (syntmp-chi-top-149 (lambda (syntmp-e-729 syntmp-r-730 syntmp-w-731 syntmp-m-732 syntmp-esew-733) (call-with-values (lambda () (syntmp-syntax-type-148 syntmp-e-729 syntmp-r-730 syntmp-w-731 #f #f)) (lambda (syntmp-type-746 syntmp-value-747 syntmp-e-748 syntmp-w-749 syntmp-s-750) (let ((syntmp-t-751 syntmp-type-746)) (if (memv syntmp-t-751 (quote (begin-form))) ((lambda (syntmp-tmp-752) ((lambda (syntmp-tmp-753) (if syntmp-tmp-753 (apply (lambda (syntmp-_-754) (syntmp-chi-void-158)) syntmp-tmp-753) ((lambda (syntmp-tmp-755) (if syntmp-tmp-755 (apply (lambda (syntmp-_-756 syntmp-e1-757 syntmp-e2-758) (syntmp-chi-top-sequence-145 (cons syntmp-e1-757 syntmp-e2-758) syntmp-r-730 syntmp-w-749 syntmp-s-750 syntmp-m-732 syntmp-esew-733)) syntmp-tmp-755) (syntax-error syntmp-tmp-752))) (syntax-dispatch syntmp-tmp-752 (quote (any any . each-any)))))) (syntax-dispatch syntmp-tmp-752 (quote (any))))) syntmp-e-748) (if (memv syntmp-t-751 (quote (local-syntax-form))) (syntmp-chi-local-syntax-156 syntmp-value-747 syntmp-e-748 syntmp-r-730 syntmp-w-749 syntmp-s-750 (lambda (syntmp-body-760 syntmp-r-761 syntmp-w-762 syntmp-s-763) (syntmp-chi-top-sequence-145 syntmp-body-760 syntmp-r-761 syntmp-w-762 syntmp-s-763 syntmp-m-732 syntmp-esew-733))) (if (memv syntmp-t-751 (quote (eval-when-form))) ((lambda (syntmp-tmp-764) ((lambda (syntmp-tmp-765) (if syntmp-tmp-765 (apply (lambda (syntmp-_-766 syntmp-x-767 syntmp-e1-768 syntmp-e2-769) (let ((syntmp-when-list-770 (syntmp-chi-when-list-147 syntmp-e-748 syntmp-x-767 syntmp-w-749)) (syntmp-body-771 (cons syntmp-e1-768 syntmp-e2-769))) (cond ((eq? syntmp-m-732 (quote e)) (if (memq (quote eval) syntmp-when-list-770) (syntmp-chi-top-sequence-145 syntmp-body-771 syntmp-r-730 syntmp-w-749 syntmp-s-750 (quote e) (quote (eval))) (syntmp-chi-void-158))) ((memq (quote load) syntmp-when-list-770) (if (or (memq (quote compile) syntmp-when-list-770) (and (eq? syntmp-m-732 (quote c&e)) (memq (quote eval) syntmp-when-list-770))) (syntmp-chi-top-sequence-145 syntmp-body-771 syntmp-r-730 syntmp-w-749 syntmp-s-750 (quote c&e) (quote (compile load))) (if (memq syntmp-m-732 (quote (c c&e))) (syntmp-chi-top-sequence-145 syntmp-body-771 syntmp-r-730 syntmp-w-749 syntmp-s-750 (quote c) (quote (load))) (syntmp-chi-void-158)))) ((or (memq (quote compile) syntmp-when-list-770) (and (eq? syntmp-m-732 (quote c&e)) (memq (quote eval) syntmp-when-list-770))) (syntmp-top-level-eval-hook-89 (syntmp-chi-top-sequence-145 syntmp-body-771 syntmp-r-730 syntmp-w-749 syntmp-s-750 (quote e) (quote (eval)))) (syntmp-chi-void-158)) (else (syntmp-chi-void-158))))) syntmp-tmp-765) (syntax-error syntmp-tmp-764))) (syntax-dispatch syntmp-tmp-764 (quote (any each-any any . each-any))))) syntmp-e-748) (if (memv syntmp-t-751 (quote (define-syntax-form))) (let ((syntmp-n-774 (syntmp-id-var-name-136 syntmp-value-747 syntmp-w-749)) (syntmp-r-775 (syntmp-macros-only-env-110 syntmp-r-730))) (let ((syntmp-t-776 syntmp-m-732)) (if (memv syntmp-t-776 (quote (c))) (if (memq (quote compile) syntmp-esew-733) (let ((syntmp-e-777 (syntmp-chi-install-global-146 syntmp-n-774 (syntmp-chi-150 syntmp-e-748 syntmp-r-775 syntmp-w-749)))) (begin (syntmp-top-level-eval-hook-89 syntmp-e-777) (if (memq (quote load) syntmp-esew-733) syntmp-e-777 (syntmp-chi-void-158)))) (if (memq (quote load) syntmp-esew-733) (syntmp-chi-install-global-146 syntmp-n-774 (syntmp-chi-150 syntmp-e-748 syntmp-r-775 syntmp-w-749)) (syntmp-chi-void-158))) (if (memv syntmp-t-776 (quote (c&e))) (let ((syntmp-e-778 (syntmp-chi-install-global-146 syntmp-n-774 (syntmp-chi-150 syntmp-e-748 syntmp-r-775 syntmp-w-749)))) (begin (syntmp-top-level-eval-hook-89 syntmp-e-778) syntmp-e-778)) (begin (if (memq (quote eval) syntmp-esew-733) (syntmp-top-level-eval-hook-89 (syntmp-chi-install-global-146 syntmp-n-774 (syntmp-chi-150 syntmp-e-748 syntmp-r-775 syntmp-w-749)))) (syntmp-chi-void-158)))))) (if (memv syntmp-t-751 (quote (define-form))) (let ((syntmp-n-779 (syntmp-id-var-name-136 syntmp-value-747 syntmp-w-749))) (let ((syntmp-type-780 (syntmp-binding-type-106 (syntmp-lookup-111 syntmp-n-779 syntmp-r-730)))) (let ((syntmp-t-781 syntmp-type-780)) (if (memv syntmp-t-781 (quote (global))) (let ((syntmp-x-782 (list (quote define) syntmp-n-779 (syntmp-chi-150 syntmp-e-748 syntmp-r-730 syntmp-w-749)))) (begin (if (eq? syntmp-m-732 (quote c&e)) (syntmp-top-level-eval-hook-89 syntmp-x-782)) syntmp-x-782)) (if (memv syntmp-t-781 (quote (displaced-lexical))) (syntax-error (syntmp-wrap-142 syntmp-value-747 syntmp-w-749) "identifier out of context") (if (eq? syntmp-type-780 (quote external-macro)) (let ((syntmp-x-783 (list (quote define) syntmp-n-779 (syntmp-chi-150 syntmp-e-748 syntmp-r-730 syntmp-w-749)))) (begin (if (eq? syntmp-m-732 (quote c&e)) (syntmp-top-level-eval-hook-89 syntmp-x-783)) syntmp-x-783)) (syntax-error (syntmp-wrap-142 syntmp-value-747 syntmp-w-749) "cannot define keyword at top level"))))))) (let ((syntmp-x-784 (syntmp-chi-expr-151 syntmp-type-746 syntmp-value-747 syntmp-e-748 syntmp-r-730 syntmp-w-749 syntmp-s-750))) (begin (if (eq? syntmp-m-732 (quote c&e)) (syntmp-top-level-eval-hook-89 syntmp-x-784)) syntmp-x-784)))))))))))) (syntmp-syntax-type-148 (lambda (syntmp-e-785 syntmp-r-786 syntmp-w-787 syntmp-s-788 syntmp-rib-789) (cond ((symbol? syntmp-e-785) (let ((syntmp-n-790 (syntmp-id-var-name-136 syntmp-e-785 syntmp-w-787))) (let ((syntmp-b-791 (syntmp-lookup-111 syntmp-n-790 syntmp-r-786))) (let ((syntmp-type-792 (syntmp-binding-type-106 syntmp-b-791))) (let ((syntmp-t-793 syntmp-type-792)) (if (memv syntmp-t-793 (quote (lexical))) (values syntmp-type-792 (syntmp-binding-value-107 syntmp-b-791) syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-793 (quote (global))) (values syntmp-type-792 syntmp-n-790 syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-793 (quote (macro))) (syntmp-syntax-type-148 (syntmp-chi-macro-153 (syntmp-binding-value-107 syntmp-b-791) syntmp-e-785 syntmp-r-786 syntmp-w-787 syntmp-rib-789) syntmp-r-786 (quote (())) syntmp-s-788 syntmp-rib-789) (values syntmp-type-792 (syntmp-binding-value-107 syntmp-b-791) syntmp-e-785 syntmp-w-787 syntmp-s-788))))))))) ((pair? syntmp-e-785) (let ((syntmp-first-794 (car syntmp-e-785))) (if (syntmp-id?-114 syntmp-first-794) (let ((syntmp-n-795 (syntmp-id-var-name-136 syntmp-first-794 syntmp-w-787))) (let ((syntmp-b-796 (syntmp-lookup-111 syntmp-n-795 syntmp-r-786))) (let ((syntmp-type-797 (syntmp-binding-type-106 syntmp-b-796))) (let ((syntmp-t-798 syntmp-type-797)) (if (memv syntmp-t-798 (quote (lexical))) (values (quote lexical-call) (syntmp-binding-value-107 syntmp-b-796) syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (global))) (values (quote global-call) syntmp-n-795 syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (macro))) (syntmp-syntax-type-148 (syntmp-chi-macro-153 (syntmp-binding-value-107 syntmp-b-796) syntmp-e-785 syntmp-r-786 syntmp-w-787 syntmp-rib-789) syntmp-r-786 (quote (())) syntmp-s-788 syntmp-rib-789) (if (memv syntmp-t-798 (quote (core external-macro))) (values syntmp-type-797 (syntmp-binding-value-107 syntmp-b-796) syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (local-syntax))) (values (quote local-syntax-form) (syntmp-binding-value-107 syntmp-b-796) syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (begin))) (values (quote begin-form) #f syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (eval-when))) (values (quote eval-when-form) #f syntmp-e-785 syntmp-w-787 syntmp-s-788) (if (memv syntmp-t-798 (quote (define))) ((lambda (syntmp-tmp-799) ((lambda (syntmp-tmp-800) (if (if syntmp-tmp-800 (apply (lambda (syntmp-_-801 syntmp-name-802 syntmp-val-803) (syntmp-id?-114 syntmp-name-802)) syntmp-tmp-800) #f) (apply (lambda (syntmp-_-804 syntmp-name-805 syntmp-val-806) (values (quote define-form) syntmp-name-805 syntmp-val-806 syntmp-w-787 syntmp-s-788)) syntmp-tmp-800) ((lambda (syntmp-tmp-807) (if (if syntmp-tmp-807 (apply (lambda (syntmp-_-808 syntmp-name-809 syntmp-args-810 syntmp-e1-811 syntmp-e2-812) (and (syntmp-id?-114 syntmp-name-809) (syntmp-valid-bound-ids?-139 (syntmp-lambda-var-list-163 syntmp-args-810)))) syntmp-tmp-807) #f) (apply (lambda (syntmp-_-813 syntmp-name-814 syntmp-args-815 syntmp-e1-816 syntmp-e2-817) (values (quote define-form) (syntmp-wrap-142 syntmp-name-814 syntmp-w-787) (cons (quote #(syntax-object lambda ((top) #(ribcage #(_ name args e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(t) #(("m" top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(type) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(b) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(n) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(first) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(e r w s rib) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) (syntmp-wrap-142 (cons syntmp-args-815 (cons syntmp-e1-816 syntmp-e2-817)) syntmp-w-787)) (quote (())) syntmp-s-788)) syntmp-tmp-807) ((lambda (syntmp-tmp-819) (if (if syntmp-tmp-819 (apply (lambda (syntmp-_-820 syntmp-name-821) (syntmp-id?-114 syntmp-name-821)) syntmp-tmp-819) #f) (apply (lambda (syntmp-_-822 syntmp-name-823) (values (quote define-form) (syntmp-wrap-142 syntmp-name-823 syntmp-w-787) (quote (#(syntax-object void ((top) #(ribcage #(_ name) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(t) #(("m" top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(type) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(b) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(n) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(first) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(e r w s rib) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote (())) syntmp-s-788)) syntmp-tmp-819) (syntax-error syntmp-tmp-799))) (syntax-dispatch syntmp-tmp-799 (quote (any any)))))) (syntax-dispatch syntmp-tmp-799 (quote (any (any . any) any . each-any)))))) (syntax-dispatch syntmp-tmp-799 (quote (any any any))))) syntmp-e-785) (if (memv syntmp-t-798 (quote (define-syntax))) ((lambda (syntmp-tmp-824) ((lambda (syntmp-tmp-825) (if (if syntmp-tmp-825 (apply (lambda (syntmp-_-826 syntmp-name-827 syntmp-val-828) (syntmp-id?-114 syntmp-name-827)) syntmp-tmp-825) #f) (apply (lambda (syntmp-_-829 syntmp-name-830 syntmp-val-831) (values (quote define-syntax-form) syntmp-name-830 syntmp-val-831 syntmp-w-787 syntmp-s-788)) syntmp-tmp-825) (syntax-error syntmp-tmp-824))) (syntax-dispatch syntmp-tmp-824 (quote (any any any))))) syntmp-e-785) (values (quote call) #f syntmp-e-785 syntmp-w-787 syntmp-s-788)))))))))))))) (values (quote call) #f syntmp-e-785 syntmp-w-787 syntmp-s-788)))) ((syntmp-syntax-object?-100 syntmp-e-785) (syntmp-syntax-type-148 (syntmp-syntax-object-expression-101 syntmp-e-785) syntmp-r-786 (syntmp-join-wraps-133 syntmp-w-787 (syntmp-syntax-object-wrap-102 syntmp-e-785)) #f syntmp-rib-789)) ((annotation? syntmp-e-785) (syntmp-syntax-type-148 (annotation-expression syntmp-e-785) syntmp-r-786 syntmp-w-787 (annotation-source syntmp-e-785) syntmp-rib-789)) ((self-evaluating? syntmp-e-785) (values (quote constant) #f syntmp-e-785 syntmp-w-787 syntmp-s-788)) (else (values (quote other) #f syntmp-e-785 syntmp-w-787 syntmp-s-788))))) (syntmp-chi-when-list-147 (lambda (syntmp-e-832 syntmp-when-list-833 syntmp-w-834) (let syntmp-f-835 ((syntmp-when-list-836 syntmp-when-list-833) (syntmp-situations-837 (quote ()))) (if (null? syntmp-when-list-836) syntmp-situations-837 (syntmp-f-835 (cdr syntmp-when-list-836) (cons (let ((syntmp-x-838 (car syntmp-when-list-836))) (cond ((syntmp-free-id=?-137 syntmp-x-838 (quote #(syntax-object compile ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote compile)) ((syntmp-free-id=?-137 syntmp-x-838 (quote #(syntax-object load ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote load)) ((syntmp-free-id=?-137 syntmp-x-838 (quote #(syntax-object eval ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote eval)) (else (syntax-error (syntmp-wrap-142 syntmp-x-838 syntmp-w-834) "invalid eval-when situation")))) syntmp-situations-837)))))) (syntmp-chi-install-global-146 (lambda (syntmp-name-839 syntmp-e-840) (list (quote install-global-transformer) (syntmp-build-data-94 #f syntmp-name-839) syntmp-e-840))) (syntmp-chi-top-sequence-145 (lambda (syntmp-body-841 syntmp-r-842 syntmp-w-843 syntmp-s-844 syntmp-m-845 syntmp-esew-846) (syntmp-build-sequence-95 syntmp-s-844 (let syntmp-dobody-847 ((syntmp-body-848 syntmp-body-841) (syntmp-r-849 syntmp-r-842) (syntmp-w-850 syntmp-w-843) (syntmp-m-851 syntmp-m-845) (syntmp-esew-852 syntmp-esew-846)) (if (null? syntmp-body-848) (quote ()) (let ((syntmp-first-853 (syntmp-chi-top-149 (car syntmp-body-848) syntmp-r-849 syntmp-w-850 syntmp-m-851 syntmp-esew-852))) (cons syntmp-first-853 (syntmp-dobody-847 (cdr syntmp-body-848) syntmp-r-849 syntmp-w-850 syntmp-m-851 syntmp-esew-852)))))))) (syntmp-chi-sequence-144 (lambda (syntmp-body-854 syntmp-r-855 syntmp-w-856 syntmp-s-857) (syntmp-build-sequence-95 syntmp-s-857 (let syntmp-dobody-858 ((syntmp-body-859 syntmp-body-854) (syntmp-r-860 syntmp-r-855) (syntmp-w-861 syntmp-w-856)) (if (null? syntmp-body-859) (quote ()) (let ((syntmp-first-862 (syntmp-chi-150 (car syntmp-body-859) syntmp-r-860 syntmp-w-861))) (cons syntmp-first-862 (syntmp-dobody-858 (cdr syntmp-body-859) syntmp-r-860 syntmp-w-861)))))))) (syntmp-source-wrap-143 (lambda (syntmp-x-863 syntmp-w-864 syntmp-s-865) (syntmp-wrap-142 (if syntmp-s-865 (make-annotation syntmp-x-863 syntmp-s-865 #f) syntmp-x-863) syntmp-w-864))) (syntmp-wrap-142 (lambda (syntmp-x-866 syntmp-w-867) (cond ((and (null? (syntmp-wrap-marks-117 syntmp-w-867)) (null? (syntmp-wrap-subst-118 syntmp-w-867))) syntmp-x-866) ((syntmp-syntax-object?-100 syntmp-x-866) (syntmp-make-syntax-object-99 (syntmp-syntax-object-expression-101 syntmp-x-866) (syntmp-join-wraps-133 syntmp-w-867 (syntmp-syntax-object-wrap-102 syntmp-x-866)))) ((null? syntmp-x-866) syntmp-x-866) (else (syntmp-make-syntax-object-99 syntmp-x-866 syntmp-w-867))))) (syntmp-bound-id-member?-141 (lambda (syntmp-x-868 syntmp-list-869) (and (not (null? syntmp-list-869)) (or (syntmp-bound-id=?-138 syntmp-x-868 (car syntmp-list-869)) (syntmp-bound-id-member?-141 syntmp-x-868 (cdr syntmp-list-869)))))) (syntmp-distinct-bound-ids?-140 (lambda (syntmp-ids-870) (let syntmp-distinct?-871 ((syntmp-ids-872 syntmp-ids-870)) (or (null? syntmp-ids-872) (and (not (syntmp-bound-id-member?-141 (car syntmp-ids-872) (cdr syntmp-ids-872))) (syntmp-distinct?-871 (cdr syntmp-ids-872))))))) (syntmp-valid-bound-ids?-139 (lambda (syntmp-ids-873) (and (let syntmp-all-ids?-874 ((syntmp-ids-875 syntmp-ids-873)) (or (null? syntmp-ids-875) (and (syntmp-id?-114 (car syntmp-ids-875)) (syntmp-all-ids?-874 (cdr syntmp-ids-875))))) (syntmp-distinct-bound-ids?-140 syntmp-ids-873)))) (syntmp-bound-id=?-138 (lambda (syntmp-i-876 syntmp-j-877) (if (and (syntmp-syntax-object?-100 syntmp-i-876) (syntmp-syntax-object?-100 syntmp-j-877)) (and (eq? (let ((syntmp-e-878 (syntmp-syntax-object-expression-101 syntmp-i-876))) (if (annotation? syntmp-e-878) (annotation-expression syntmp-e-878) syntmp-e-878)) (let ((syntmp-e-879 (syntmp-syntax-object-expression-101 syntmp-j-877))) (if (annotation? syntmp-e-879) (annotation-expression syntmp-e-879) syntmp-e-879))) (syntmp-same-marks?-135 (syntmp-wrap-marks-117 (syntmp-syntax-object-wrap-102 syntmp-i-876)) (syntmp-wrap-marks-117 (syntmp-syntax-object-wrap-102 syntmp-j-877)))) (eq? (let ((syntmp-e-880 syntmp-i-876)) (if (annotation? syntmp-e-880) (annotation-expression syntmp-e-880) syntmp-e-880)) (let ((syntmp-e-881 syntmp-j-877)) (if (annotation? syntmp-e-881) (annotation-expression syntmp-e-881) syntmp-e-881)))))) (syntmp-free-id=?-137 (lambda (syntmp-i-882 syntmp-j-883) (and (eq? (let ((syntmp-x-884 syntmp-i-882)) (let ((syntmp-e-885 (if (syntmp-syntax-object?-100 syntmp-x-884) (syntmp-syntax-object-expression-101 syntmp-x-884) syntmp-x-884))) (if (annotation? syntmp-e-885) (annotation-expression syntmp-e-885) syntmp-e-885))) (let ((syntmp-x-886 syntmp-j-883)) (let ((syntmp-e-887 (if (syntmp-syntax-object?-100 syntmp-x-886) (syntmp-syntax-object-expression-101 syntmp-x-886) syntmp-x-886))) (if (annotation? syntmp-e-887) (annotation-expression syntmp-e-887) syntmp-e-887)))) (eq? (syntmp-id-var-name-136 syntmp-i-882 (quote (()))) (syntmp-id-var-name-136 syntmp-j-883 (quote (()))))))) (syntmp-id-var-name-136 (lambda (syntmp-id-888 syntmp-w-889) (letrec ((syntmp-search-vector-rib-892 (lambda (syntmp-sym-903 syntmp-subst-904 syntmp-marks-905 syntmp-symnames-906 syntmp-ribcage-907) (let ((syntmp-n-908 (vector-length syntmp-symnames-906))) (let syntmp-f-909 ((syntmp-i-910 0)) (cond ((syntmp-fx=-87 syntmp-i-910 syntmp-n-908) (syntmp-search-890 syntmp-sym-903 (cdr syntmp-subst-904) syntmp-marks-905)) ((and (eq? (vector-ref syntmp-symnames-906 syntmp-i-910) syntmp-sym-903) (syntmp-same-marks?-135 syntmp-marks-905 (vector-ref (syntmp-ribcage-marks-124 syntmp-ribcage-907) syntmp-i-910))) (values (vector-ref (syntmp-ribcage-labels-125 syntmp-ribcage-907) syntmp-i-910) syntmp-marks-905)) (else (syntmp-f-909 (syntmp-fx+-85 syntmp-i-910 1)))))))) (syntmp-search-list-rib-891 (lambda (syntmp-sym-911 syntmp-subst-912 syntmp-marks-913 syntmp-symnames-914 syntmp-ribcage-915) (let syntmp-f-916 ((syntmp-symnames-917 syntmp-symnames-914) (syntmp-i-918 0)) (cond ((null? syntmp-symnames-917) (syntmp-search-890 syntmp-sym-911 (cdr syntmp-subst-912) syntmp-marks-913)) ((and (eq? (car syntmp-symnames-917) syntmp-sym-911) (syntmp-same-marks?-135 syntmp-marks-913 (list-ref (syntmp-ribcage-marks-124 syntmp-ribcage-915) syntmp-i-918))) (values (list-ref (syntmp-ribcage-labels-125 syntmp-ribcage-915) syntmp-i-918) syntmp-marks-913)) (else (syntmp-f-916 (cdr syntmp-symnames-917) (syntmp-fx+-85 syntmp-i-918 1))))))) (syntmp-search-890 (lambda (syntmp-sym-919 syntmp-subst-920 syntmp-marks-921) (if (null? syntmp-subst-920) (values #f syntmp-marks-921) (let ((syntmp-fst-922 (car syntmp-subst-920))) (if (eq? syntmp-fst-922 (quote shift)) (syntmp-search-890 syntmp-sym-919 (cdr syntmp-subst-920) (cdr syntmp-marks-921)) (let ((syntmp-symnames-923 (syntmp-ribcage-symnames-123 syntmp-fst-922))) (if (vector? syntmp-symnames-923) (syntmp-search-vector-rib-892 syntmp-sym-919 syntmp-subst-920 syntmp-marks-921 syntmp-symnames-923 syntmp-fst-922) (syntmp-search-list-rib-891 syntmp-sym-919 syntmp-subst-920 syntmp-marks-921 syntmp-symnames-923 syntmp-fst-922))))))))) (cond ((symbol? syntmp-id-888) (or (call-with-values (lambda () (syntmp-search-890 syntmp-id-888 (syntmp-wrap-subst-118 syntmp-w-889) (syntmp-wrap-marks-117 syntmp-w-889))) (lambda (syntmp-x-925 . syntmp-ignore-924) syntmp-x-925)) syntmp-id-888)) ((syntmp-syntax-object?-100 syntmp-id-888) (let ((syntmp-id-926 (let ((syntmp-e-928 (syntmp-syntax-object-expression-101 syntmp-id-888))) (if (annotation? syntmp-e-928) (annotation-expression syntmp-e-928) syntmp-e-928))) (syntmp-w1-927 (syntmp-syntax-object-wrap-102 syntmp-id-888))) (let ((syntmp-marks-929 (syntmp-join-marks-134 (syntmp-wrap-marks-117 syntmp-w-889) (syntmp-wrap-marks-117 syntmp-w1-927)))) (call-with-values (lambda () (syntmp-search-890 syntmp-id-926 (syntmp-wrap-subst-118 syntmp-w-889) syntmp-marks-929)) (lambda (syntmp-new-id-930 syntmp-marks-931) (or syntmp-new-id-930 (call-with-values (lambda () (syntmp-search-890 syntmp-id-926 (syntmp-wrap-subst-118 syntmp-w1-927) syntmp-marks-931)) (lambda (syntmp-x-933 . syntmp-ignore-932) syntmp-x-933)) syntmp-id-926)))))) ((annotation? syntmp-id-888) (let ((syntmp-id-934 (let ((syntmp-e-935 syntmp-id-888)) (if (annotation? syntmp-e-935) (annotation-expression syntmp-e-935) syntmp-e-935)))) (or (call-with-values (lambda () (syntmp-search-890 syntmp-id-934 (syntmp-wrap-subst-118 syntmp-w-889) (syntmp-wrap-marks-117 syntmp-w-889))) (lambda (syntmp-x-937 . syntmp-ignore-936) syntmp-x-937)) syntmp-id-934))) (else (syntmp-error-hook-91 (quote id-var-name) "invalid id" syntmp-id-888)))))) (syntmp-same-marks?-135 (lambda (syntmp-x-938 syntmp-y-939) (or (eq? syntmp-x-938 syntmp-y-939) (and (not (null? syntmp-x-938)) (not (null? syntmp-y-939)) (eq? (car syntmp-x-938) (car syntmp-y-939)) (syntmp-same-marks?-135 (cdr syntmp-x-938) (cdr syntmp-y-939)))))) (syntmp-join-marks-134 (lambda (syntmp-m1-940 syntmp-m2-941) (syntmp-smart-append-132 syntmp-m1-940 syntmp-m2-941))) (syntmp-join-wraps-133 (lambda (syntmp-w1-942 syntmp-w2-943) (let ((syntmp-m1-944 (syntmp-wrap-marks-117 syntmp-w1-942)) (syntmp-s1-945 (syntmp-wrap-subst-118 syntmp-w1-942))) (if (null? syntmp-m1-944) (if (null? syntmp-s1-945) syntmp-w2-943 (syntmp-make-wrap-116 (syntmp-wrap-marks-117 syntmp-w2-943) (syntmp-smart-append-132 syntmp-s1-945 (syntmp-wrap-subst-118 syntmp-w2-943)))) (syntmp-make-wrap-116 (syntmp-smart-append-132 syntmp-m1-944 (syntmp-wrap-marks-117 syntmp-w2-943)) (syntmp-smart-append-132 syntmp-s1-945 (syntmp-wrap-subst-118 syntmp-w2-943))))))) (syntmp-smart-append-132 (lambda (syntmp-m1-946 syntmp-m2-947) (if (null? syntmp-m2-947) syntmp-m1-946 (append syntmp-m1-946 syntmp-m2-947)))) (syntmp-make-binding-wrap-131 (lambda (syntmp-ids-948 syntmp-labels-949 syntmp-w-950) (if (null? syntmp-ids-948) syntmp-w-950 (syntmp-make-wrap-116 (syntmp-wrap-marks-117 syntmp-w-950) (cons (let ((syntmp-labelvec-951 (list->vector syntmp-labels-949))) (let ((syntmp-n-952 (vector-length syntmp-labelvec-951))) (let ((syntmp-symnamevec-953 (make-vector syntmp-n-952)) (syntmp-marksvec-954 (make-vector syntmp-n-952))) (begin (let syntmp-f-955 ((syntmp-ids-956 syntmp-ids-948) (syntmp-i-957 0)) (if (not (null? syntmp-ids-956)) (call-with-values (lambda () (syntmp-id-sym-name&marks-115 (car syntmp-ids-956) syntmp-w-950)) (lambda (syntmp-symname-958 syntmp-marks-959) (begin (vector-set! syntmp-symnamevec-953 syntmp-i-957 syntmp-symname-958) (vector-set! syntmp-marksvec-954 syntmp-i-957 syntmp-marks-959) (syntmp-f-955 (cdr syntmp-ids-956) (syntmp-fx+-85 syntmp-i-957 1))))))) (syntmp-make-ribcage-121 syntmp-symnamevec-953 syntmp-marksvec-954 syntmp-labelvec-951))))) (syntmp-wrap-subst-118 syntmp-w-950)))))) (syntmp-extend-ribcage!-130 (lambda (syntmp-ribcage-960 syntmp-id-961 syntmp-label-962) (begin (syntmp-set-ribcage-symnames!-126 syntmp-ribcage-960 (cons (let ((syntmp-e-963 (syntmp-syntax-object-expression-101 syntmp-id-961))) (if (annotation? syntmp-e-963) (annotation-expression syntmp-e-963) syntmp-e-963)) (syntmp-ribcage-symnames-123 syntmp-ribcage-960))) (syntmp-set-ribcage-marks!-127 syntmp-ribcage-960 (cons (syntmp-wrap-marks-117 (syntmp-syntax-object-wrap-102 syntmp-id-961)) (syntmp-ribcage-marks-124 syntmp-ribcage-960))) (syntmp-set-ribcage-labels!-128 syntmp-ribcage-960 (cons syntmp-label-962 (syntmp-ribcage-labels-125 syntmp-ribcage-960)))))) (syntmp-anti-mark-129 (lambda (syntmp-w-964) (syntmp-make-wrap-116 (cons #f (syntmp-wrap-marks-117 syntmp-w-964)) (cons (quote shift) (syntmp-wrap-subst-118 syntmp-w-964))))) (syntmp-set-ribcage-labels!-128 (lambda (syntmp-x-965 syntmp-update-966) (vector-set! syntmp-x-965 3 syntmp-update-966))) (syntmp-set-ribcage-marks!-127 (lambda (syntmp-x-967 syntmp-update-968) (vector-set! syntmp-x-967 2 syntmp-update-968))) (syntmp-set-ribcage-symnames!-126 (lambda (syntmp-x-969 syntmp-update-970) (vector-set! syntmp-x-969 1 syntmp-update-970))) (syntmp-ribcage-labels-125 (lambda (syntmp-x-971) (vector-ref syntmp-x-971 3))) (syntmp-ribcage-marks-124 (lambda (syntmp-x-972) (vector-ref syntmp-x-972 2))) (syntmp-ribcage-symnames-123 (lambda (syntmp-x-973) (vector-ref syntmp-x-973 1))) (syntmp-ribcage?-122 (lambda (syntmp-x-974) (and (vector? syntmp-x-974) (= (vector-length syntmp-x-974) 4) (eq? (vector-ref syntmp-x-974 0) (quote ribcage))))) (syntmp-make-ribcage-121 (lambda (syntmp-symnames-975 syntmp-marks-976 syntmp-labels-977) (vector (quote ribcage) syntmp-symnames-975 syntmp-marks-976 syntmp-labels-977))) (syntmp-gen-labels-120 (lambda (syntmp-ls-978) (if (null? syntmp-ls-978) (quote ()) (cons (syntmp-gen-label-119) (syntmp-gen-labels-120 (cdr syntmp-ls-978)))))) (syntmp-gen-label-119 (lambda () (string #\i))) (syntmp-wrap-subst-118 cdr) (syntmp-wrap-marks-117 car) (syntmp-make-wrap-116 cons) (syntmp-id-sym-name&marks-115 (lambda (syntmp-x-979 syntmp-w-980) (if (syntmp-syntax-object?-100 syntmp-x-979) (values (let ((syntmp-e-981 (syntmp-syntax-object-expression-101 syntmp-x-979))) (if (annotation? syntmp-e-981) (annotation-expression syntmp-e-981) syntmp-e-981)) (syntmp-join-marks-134 (syntmp-wrap-marks-117 syntmp-w-980) (syntmp-wrap-marks-117 (syntmp-syntax-object-wrap-102 syntmp-x-979)))) (values (let ((syntmp-e-982 syntmp-x-979)) (if (annotation? syntmp-e-982) (annotation-expression syntmp-e-982) syntmp-e-982)) (syntmp-wrap-marks-117 syntmp-w-980))))) (syntmp-id?-114 (lambda (syntmp-x-983) (cond ((symbol? syntmp-x-983) #t) ((syntmp-syntax-object?-100 syntmp-x-983) (symbol? (let ((syntmp-e-984 (syntmp-syntax-object-expression-101 syntmp-x-983))) (if (annotation? syntmp-e-984) (annotation-expression syntmp-e-984) syntmp-e-984)))) ((annotation? syntmp-x-983) (symbol? (annotation-expression syntmp-x-983))) (else #f)))) (syntmp-nonsymbol-id?-113 (lambda (syntmp-x-985) (and (syntmp-syntax-object?-100 syntmp-x-985) (symbol? (let ((syntmp-e-986 (syntmp-syntax-object-expression-101 syntmp-x-985))) (if (annotation? syntmp-e-986) (annotation-expression syntmp-e-986) syntmp-e-986)))))) (syntmp-global-extend-112 (lambda (syntmp-type-987 syntmp-sym-988 syntmp-val-989) (syntmp-put-global-definition-hook-92 syntmp-sym-988 (cons syntmp-type-987 syntmp-val-989)))) (syntmp-lookup-111 (lambda (syntmp-x-990 syntmp-r-991) (cond ((assq syntmp-x-990 syntmp-r-991) => cdr) ((symbol? syntmp-x-990) (or (syntmp-get-global-definition-hook-93 syntmp-x-990) (quote (global)))) (else (quote (displaced-lexical)))))) (syntmp-macros-only-env-110 (lambda (syntmp-r-992) (if (null? syntmp-r-992) (quote ()) (let ((syntmp-a-993 (car syntmp-r-992))) (if (eq? (cadr syntmp-a-993) (quote macro)) (cons syntmp-a-993 (syntmp-macros-only-env-110 (cdr syntmp-r-992))) (syntmp-macros-only-env-110 (cdr syntmp-r-992))))))) (syntmp-extend-var-env-109 (lambda (syntmp-labels-994 syntmp-vars-995 syntmp-r-996) (if (null? syntmp-labels-994) syntmp-r-996 (syntmp-extend-var-env-109 (cdr syntmp-labels-994) (cdr syntmp-vars-995) (cons (cons (car syntmp-labels-994) (cons (quote lexical) (car syntmp-vars-995))) syntmp-r-996))))) (syntmp-extend-env-108 (lambda (syntmp-labels-997 syntmp-bindings-998 syntmp-r-999) (if (null? syntmp-labels-997) syntmp-r-999 (syntmp-extend-env-108 (cdr syntmp-labels-997) (cdr syntmp-bindings-998) (cons (cons (car syntmp-labels-997) (car syntmp-bindings-998)) syntmp-r-999))))) (syntmp-binding-value-107 cdr) (syntmp-binding-type-106 car) (syntmp-source-annotation-105 (lambda (syntmp-x-1000) (cond ((annotation? syntmp-x-1000) (annotation-source syntmp-x-1000)) ((syntmp-syntax-object?-100 syntmp-x-1000) (syntmp-source-annotation-105 (syntmp-syntax-object-expression-101 syntmp-x-1000))) (else #f)))) (syntmp-set-syntax-object-wrap!-104 (lambda (syntmp-x-1001 syntmp-update-1002) (vector-set! syntmp-x-1001 2 syntmp-update-1002))) (syntmp-set-syntax-object-expression!-103 (lambda (syntmp-x-1003 syntmp-update-1004) (vector-set! syntmp-x-1003 1 syntmp-update-1004))) (syntmp-syntax-object-wrap-102 (lambda (syntmp-x-1005) (vector-ref syntmp-x-1005 2))) (syntmp-syntax-object-expression-101 (lambda (syntmp-x-1006) (vector-ref syntmp-x-1006 1))) (syntmp-syntax-object?-100 (lambda (syntmp-x-1007) (and (vector? syntmp-x-1007) (= (vector-length syntmp-x-1007) 3) (eq? (vector-ref syntmp-x-1007 0) (quote syntax-object))))) (syntmp-make-syntax-object-99 (lambda (syntmp-expression-1008 syntmp-wrap-1009) (vector (quote syntax-object) syntmp-expression-1008 syntmp-wrap-1009))) (syntmp-build-letrec-98 (lambda (syntmp-src-1010 syntmp-vars-1011 syntmp-val-exps-1012 syntmp-body-exp-1013) (if (null? syntmp-vars-1011) syntmp-body-exp-1013 (list (quote letrec) (map list syntmp-vars-1011 syntmp-val-exps-1012) syntmp-body-exp-1013)))) (syntmp-build-named-let-97 (lambda (syntmp-src-1014 syntmp-vars-1015 syntmp-val-exps-1016 syntmp-body-exp-1017) (if (null? syntmp-vars-1015) syntmp-body-exp-1017 (list (quote let) (car syntmp-vars-1015) (map list (cdr syntmp-vars-1015) syntmp-val-exps-1016) syntmp-body-exp-1017)))) (syntmp-build-let-96 (lambda (syntmp-src-1018 syntmp-vars-1019 syntmp-val-exps-1020 syntmp-body-exp-1021) (if (null? syntmp-vars-1019) syntmp-body-exp-1021 (list (quote let) (map list syntmp-vars-1019 syntmp-val-exps-1020) syntmp-body-exp-1021)))) (syntmp-build-sequence-95 (lambda (syntmp-src-1022 syntmp-exps-1023) (if (null? (cdr syntmp-exps-1023)) (car syntmp-exps-1023) (cons (quote begin) syntmp-exps-1023)))) (syntmp-build-data-94 (lambda (syntmp-src-1024 syntmp-exp-1025) (if (and (self-evaluating? syntmp-exp-1025) (not (vector? syntmp-exp-1025))) syntmp-exp-1025 (list (quote quote) syntmp-exp-1025)))) (syntmp-get-global-definition-hook-93 (lambda (syntmp-symbol-1026) (getprop syntmp-symbol-1026 (quote *sc-expander*)))) (syntmp-put-global-definition-hook-92 (lambda (syntmp-symbol-1027 syntmp-binding-1028) (putprop syntmp-symbol-1027 (quote *sc-expander*) syntmp-binding-1028))) (syntmp-error-hook-91 (lambda (syntmp-who-1029 syntmp-why-1030 syntmp-what-1031) (error syntmp-who-1029 "~a ~s" syntmp-why-1030 syntmp-what-1031))) (syntmp-local-eval-hook-90 (lambda (syntmp-x-1032) (eval (list syntmp-noexpand-84 syntmp-x-1032) (interaction-environment)))) (syntmp-top-level-eval-hook-89 (lambda (syntmp-x-1033) (eval (list syntmp-noexpand-84 syntmp-x-1033) (interaction-environment)))) (syntmp-fx<-88 <) (syntmp-fx=-87 =) (syntmp-fx--86 -) (syntmp-fx+-85 +) (syntmp-noexpand-84 "noexpand")) (begin (syntmp-global-extend-112 (quote local-syntax) (quote letrec-syntax) #t) (syntmp-global-extend-112 (quote local-syntax) (quote let-syntax) #f) (syntmp-global-extend-112 (quote core) (quote fluid-let-syntax) (lambda (syntmp-e-1034 syntmp-r-1035 syntmp-w-1036 syntmp-s-1037) ((lambda (syntmp-tmp-1038) ((lambda (syntmp-tmp-1039) (if (if syntmp-tmp-1039 (apply (lambda (syntmp-_-1040 syntmp-var-1041 syntmp-val-1042 syntmp-e1-1043 syntmp-e2-1044) (syntmp-valid-bound-ids?-139 syntmp-var-1041)) syntmp-tmp-1039) #f) (apply (lambda (syntmp-_-1046 syntmp-var-1047 syntmp-val-1048 syntmp-e1-1049 syntmp-e2-1050) (let ((syntmp-names-1051 (map (lambda (syntmp-x-1052) (syntmp-id-var-name-136 syntmp-x-1052 syntmp-w-1036)) syntmp-var-1047))) (begin (for-each (lambda (syntmp-id-1054 syntmp-n-1055) (let ((syntmp-t-1056 (syntmp-binding-type-106 (syntmp-lookup-111 syntmp-n-1055 syntmp-r-1035)))) (if (memv syntmp-t-1056 (quote (displaced-lexical))) (syntax-error (syntmp-source-wrap-143 syntmp-id-1054 syntmp-w-1036 syntmp-s-1037) "identifier out of context")))) syntmp-var-1047 syntmp-names-1051) (syntmp-chi-body-154 (cons syntmp-e1-1049 syntmp-e2-1050) (syntmp-source-wrap-143 syntmp-e-1034 syntmp-w-1036 syntmp-s-1037) (syntmp-extend-env-108 syntmp-names-1051 (let ((syntmp-trans-r-1059 (syntmp-macros-only-env-110 syntmp-r-1035))) (map (lambda (syntmp-x-1060) (cons (quote macro) (syntmp-eval-local-transformer-157 (syntmp-chi-150 syntmp-x-1060 syntmp-trans-r-1059 syntmp-w-1036)))) syntmp-val-1048)) syntmp-r-1035) syntmp-w-1036)))) syntmp-tmp-1039) ((lambda (syntmp-_-1062) (syntax-error (syntmp-source-wrap-143 syntmp-e-1034 syntmp-w-1036 syntmp-s-1037))) syntmp-tmp-1038))) (syntax-dispatch syntmp-tmp-1038 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1034))) (syntmp-global-extend-112 (quote core) (quote quote) (lambda (syntmp-e-1063 syntmp-r-1064 syntmp-w-1065 syntmp-s-1066) ((lambda (syntmp-tmp-1067) ((lambda (syntmp-tmp-1068) (if syntmp-tmp-1068 (apply (lambda (syntmp-_-1069 syntmp-e-1070) (syntmp-build-data-94 syntmp-s-1066 (syntmp-strip-161 syntmp-e-1070 syntmp-w-1065))) syntmp-tmp-1068) ((lambda (syntmp-_-1071) (syntax-error (syntmp-source-wrap-143 syntmp-e-1063 syntmp-w-1065 syntmp-s-1066))) syntmp-tmp-1067))) (syntax-dispatch syntmp-tmp-1067 (quote (any any))))) syntmp-e-1063))) (syntmp-global-extend-112 (quote core) (quote syntax) (letrec ((syntmp-regen-1079 (lambda (syntmp-x-1080) (let ((syntmp-t-1081 (car syntmp-x-1080))) (if (memv syntmp-t-1081 (quote (ref))) (cadr syntmp-x-1080) (if (memv syntmp-t-1081 (quote (primitive))) (cadr syntmp-x-1080) (if (memv syntmp-t-1081 (quote (quote))) (syntmp-build-data-94 #f (cadr syntmp-x-1080)) (if (memv syntmp-t-1081 (quote (lambda))) (list (quote lambda) (cadr syntmp-x-1080) (syntmp-regen-1079 (caddr syntmp-x-1080))) (if (memv syntmp-t-1081 (quote (map))) (let ((syntmp-ls-1082 (map syntmp-regen-1079 (cdr syntmp-x-1080)))) (cons (if (syntmp-fx=-87 (length syntmp-ls-1082) 2) (quote map) (quote map)) syntmp-ls-1082)) (cons (car syntmp-x-1080) (map syntmp-regen-1079 (cdr syntmp-x-1080))))))))))) (syntmp-gen-vector-1078 (lambda (syntmp-x-1083) (cond ((eq? (car syntmp-x-1083) (quote list)) (cons (quote vector) (cdr syntmp-x-1083))) ((eq? (car syntmp-x-1083) (quote quote)) (list (quote quote) (list->vector (cadr syntmp-x-1083)))) (else (list (quote list->vector) syntmp-x-1083))))) (syntmp-gen-append-1077 (lambda (syntmp-x-1084 syntmp-y-1085) (if (equal? syntmp-y-1085 (quote (quote ()))) syntmp-x-1084 (list (quote append) syntmp-x-1084 syntmp-y-1085)))) (syntmp-gen-cons-1076 (lambda (syntmp-x-1086 syntmp-y-1087) (let ((syntmp-t-1088 (car syntmp-y-1087))) (if (memv syntmp-t-1088 (quote (quote))) (if (eq? (car syntmp-x-1086) (quote quote)) (list (quote quote) (cons (cadr syntmp-x-1086) (cadr syntmp-y-1087))) (if (eq? (cadr syntmp-y-1087) (quote ())) (list (quote list) syntmp-x-1086) (list (quote cons) syntmp-x-1086 syntmp-y-1087))) (if (memv syntmp-t-1088 (quote (list))) (cons (quote list) (cons syntmp-x-1086 (cdr syntmp-y-1087))) (list (quote cons) syntmp-x-1086 syntmp-y-1087)))))) (syntmp-gen-map-1075 (lambda (syntmp-e-1089 syntmp-map-env-1090) (let ((syntmp-formals-1091 (map cdr syntmp-map-env-1090)) (syntmp-actuals-1092 (map (lambda (syntmp-x-1093) (list (quote ref) (car syntmp-x-1093))) syntmp-map-env-1090))) (cond ((eq? (car syntmp-e-1089) (quote ref)) (car syntmp-actuals-1092)) ((andmap (lambda (syntmp-x-1094) (and (eq? (car syntmp-x-1094) (quote ref)) (memq (cadr syntmp-x-1094) syntmp-formals-1091))) (cdr syntmp-e-1089)) (cons (quote map) (cons (list (quote primitive) (car syntmp-e-1089)) (map (let ((syntmp-r-1095 (map cons syntmp-formals-1091 syntmp-actuals-1092))) (lambda (syntmp-x-1096) (cdr (assq (cadr syntmp-x-1096) syntmp-r-1095)))) (cdr syntmp-e-1089))))) (else (cons (quote map) (cons (list (quote lambda) syntmp-formals-1091 syntmp-e-1089) syntmp-actuals-1092))))))) (syntmp-gen-mappend-1074 (lambda (syntmp-e-1097 syntmp-map-env-1098) (list (quote apply) (quote (primitive append)) (syntmp-gen-map-1075 syntmp-e-1097 syntmp-map-env-1098)))) (syntmp-gen-ref-1073 (lambda (syntmp-src-1099 syntmp-var-1100 syntmp-level-1101 syntmp-maps-1102) (if (syntmp-fx=-87 syntmp-level-1101 0) (values syntmp-var-1100 syntmp-maps-1102) (if (null? syntmp-maps-1102) (syntax-error syntmp-src-1099 "missing ellipsis in syntax form") (call-with-values (lambda () (syntmp-gen-ref-1073 syntmp-src-1099 syntmp-var-1100 (syntmp-fx--86 syntmp-level-1101 1) (cdr syntmp-maps-1102))) (lambda (syntmp-outer-var-1103 syntmp-outer-maps-1104) (let ((syntmp-b-1105 (assq syntmp-outer-var-1103 (car syntmp-maps-1102)))) (if syntmp-b-1105 (values (cdr syntmp-b-1105) syntmp-maps-1102) (let ((syntmp-inner-var-1106 (syntmp-gen-var-162 (quote tmp)))) (values syntmp-inner-var-1106 (cons (cons (cons syntmp-outer-var-1103 syntmp-inner-var-1106) (car syntmp-maps-1102)) syntmp-outer-maps-1104))))))))))) (syntmp-gen-syntax-1072 (lambda (syntmp-src-1107 syntmp-e-1108 syntmp-r-1109 syntmp-maps-1110 syntmp-ellipsis?-1111) (if (syntmp-id?-114 syntmp-e-1108) (let ((syntmp-label-1112 (syntmp-id-var-name-136 syntmp-e-1108 (quote (()))))) (let ((syntmp-b-1113 (syntmp-lookup-111 syntmp-label-1112 syntmp-r-1109))) (if (eq? (syntmp-binding-type-106 syntmp-b-1113) (quote syntax)) (call-with-values (lambda () (let ((syntmp-var.lev-1114 (syntmp-binding-value-107 syntmp-b-1113))) (syntmp-gen-ref-1073 syntmp-src-1107 (car syntmp-var.lev-1114) (cdr syntmp-var.lev-1114) syntmp-maps-1110))) (lambda (syntmp-var-1115 syntmp-maps-1116) (values (list (quote ref) syntmp-var-1115) syntmp-maps-1116))) (if (syntmp-ellipsis?-1111 syntmp-e-1108) (syntax-error syntmp-src-1107 "misplaced ellipsis in syntax form") (values (list (quote quote) syntmp-e-1108) syntmp-maps-1110))))) ((lambda (syntmp-tmp-1117) ((lambda (syntmp-tmp-1118) (if (if syntmp-tmp-1118 (apply (lambda (syntmp-dots-1119 syntmp-e-1120) (syntmp-ellipsis?-1111 syntmp-dots-1119)) syntmp-tmp-1118) #f) (apply (lambda (syntmp-dots-1121 syntmp-e-1122) (syntmp-gen-syntax-1072 syntmp-src-1107 syntmp-e-1122 syntmp-r-1109 syntmp-maps-1110 (lambda (syntmp-x-1123) #f))) syntmp-tmp-1118) ((lambda (syntmp-tmp-1124) (if (if syntmp-tmp-1124 (apply (lambda (syntmp-x-1125 syntmp-dots-1126 syntmp-y-1127) (syntmp-ellipsis?-1111 syntmp-dots-1126)) syntmp-tmp-1124) #f) (apply (lambda (syntmp-x-1128 syntmp-dots-1129 syntmp-y-1130) (let syntmp-f-1131 ((syntmp-y-1132 syntmp-y-1130) (syntmp-k-1133 (lambda (syntmp-maps-1134) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-src-1107 syntmp-x-1128 syntmp-r-1109 (cons (quote ()) syntmp-maps-1134) syntmp-ellipsis?-1111)) (lambda (syntmp-x-1135 syntmp-maps-1136) (if (null? (car syntmp-maps-1136)) (syntax-error syntmp-src-1107 "extra ellipsis in syntax form") (values (syntmp-gen-map-1075 syntmp-x-1135 (car syntmp-maps-1136)) (cdr syntmp-maps-1136)))))))) ((lambda (syntmp-tmp-1137) ((lambda (syntmp-tmp-1138) (if (if syntmp-tmp-1138 (apply (lambda (syntmp-dots-1139 syntmp-y-1140) (syntmp-ellipsis?-1111 syntmp-dots-1139)) syntmp-tmp-1138) #f) (apply (lambda (syntmp-dots-1141 syntmp-y-1142) (syntmp-f-1131 syntmp-y-1142 (lambda (syntmp-maps-1143) (call-with-values (lambda () (syntmp-k-1133 (cons (quote ()) syntmp-maps-1143))) (lambda (syntmp-x-1144 syntmp-maps-1145) (if (null? (car syntmp-maps-1145)) (syntax-error syntmp-src-1107 "extra ellipsis in syntax form") (values (syntmp-gen-mappend-1074 syntmp-x-1144 (car syntmp-maps-1145)) (cdr syntmp-maps-1145)))))))) syntmp-tmp-1138) ((lambda (syntmp-_-1146) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-src-1107 syntmp-y-1132 syntmp-r-1109 syntmp-maps-1110 syntmp-ellipsis?-1111)) (lambda (syntmp-y-1147 syntmp-maps-1148) (call-with-values (lambda () (syntmp-k-1133 syntmp-maps-1148)) (lambda (syntmp-x-1149 syntmp-maps-1150) (values (syntmp-gen-append-1077 syntmp-x-1149 syntmp-y-1147) syntmp-maps-1150)))))) syntmp-tmp-1137))) (syntax-dispatch syntmp-tmp-1137 (quote (any . any))))) syntmp-y-1132))) syntmp-tmp-1124) ((lambda (syntmp-tmp-1151) (if syntmp-tmp-1151 (apply (lambda (syntmp-x-1152 syntmp-y-1153) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-src-1107 syntmp-x-1152 syntmp-r-1109 syntmp-maps-1110 syntmp-ellipsis?-1111)) (lambda (syntmp-x-1154 syntmp-maps-1155) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-src-1107 syntmp-y-1153 syntmp-r-1109 syntmp-maps-1155 syntmp-ellipsis?-1111)) (lambda (syntmp-y-1156 syntmp-maps-1157) (values (syntmp-gen-cons-1076 syntmp-x-1154 syntmp-y-1156) syntmp-maps-1157)))))) syntmp-tmp-1151) ((lambda (syntmp-tmp-1158) (if syntmp-tmp-1158 (apply (lambda (syntmp-e1-1159 syntmp-e2-1160) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-src-1107 (cons syntmp-e1-1159 syntmp-e2-1160) syntmp-r-1109 syntmp-maps-1110 syntmp-ellipsis?-1111)) (lambda (syntmp-e-1162 syntmp-maps-1163) (values (syntmp-gen-vector-1078 syntmp-e-1162) syntmp-maps-1163)))) syntmp-tmp-1158) ((lambda (syntmp-_-1164) (values (list (quote quote) syntmp-e-1108) syntmp-maps-1110)) syntmp-tmp-1117))) (syntax-dispatch syntmp-tmp-1117 (quote #(vector (any . each-any))))))) (syntax-dispatch syntmp-tmp-1117 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1117 (quote (any any . any)))))) (syntax-dispatch syntmp-tmp-1117 (quote (any any))))) syntmp-e-1108))))) (lambda (syntmp-e-1165 syntmp-r-1166 syntmp-w-1167 syntmp-s-1168) (let ((syntmp-e-1169 (syntmp-source-wrap-143 syntmp-e-1165 syntmp-w-1167 syntmp-s-1168))) ((lambda (syntmp-tmp-1170) ((lambda (syntmp-tmp-1171) (if syntmp-tmp-1171 (apply (lambda (syntmp-_-1172 syntmp-x-1173) (call-with-values (lambda () (syntmp-gen-syntax-1072 syntmp-e-1169 syntmp-x-1173 syntmp-r-1166 (quote ()) syntmp-ellipsis?-159)) (lambda (syntmp-e-1174 syntmp-maps-1175) (syntmp-regen-1079 syntmp-e-1174)))) syntmp-tmp-1171) ((lambda (syntmp-_-1176) (syntax-error syntmp-e-1169)) syntmp-tmp-1170))) (syntax-dispatch syntmp-tmp-1170 (quote (any any))))) syntmp-e-1169))))) (syntmp-global-extend-112 (quote core) (quote lambda) (lambda (syntmp-e-1177 syntmp-r-1178 syntmp-w-1179 syntmp-s-1180) ((lambda (syntmp-tmp-1181) ((lambda (syntmp-tmp-1182) (if syntmp-tmp-1182 (apply (lambda (syntmp-_-1183 syntmp-c-1184) (syntmp-chi-lambda-clause-155 (syntmp-source-wrap-143 syntmp-e-1177 syntmp-w-1179 syntmp-s-1180) syntmp-c-1184 syntmp-r-1178 syntmp-w-1179 (lambda (syntmp-vars-1185 syntmp-body-1186) (list (quote lambda) syntmp-vars-1185 syntmp-body-1186)))) syntmp-tmp-1182) (syntax-error syntmp-tmp-1181))) (syntax-dispatch syntmp-tmp-1181 (quote (any . any))))) syntmp-e-1177))) (syntmp-global-extend-112 (quote core) (quote let) (letrec ((syntmp-chi-let-1187 (lambda (syntmp-e-1188 syntmp-r-1189 syntmp-w-1190 syntmp-s-1191 syntmp-constructor-1192 syntmp-ids-1193 syntmp-vals-1194 syntmp-exps-1195) (if (not (syntmp-valid-bound-ids?-139 syntmp-ids-1193)) (syntax-error syntmp-e-1188 "duplicate bound variable in") (let ((syntmp-labels-1196 (syntmp-gen-labels-120 syntmp-ids-1193)) (syntmp-new-vars-1197 (map syntmp-gen-var-162 syntmp-ids-1193))) (let ((syntmp-nw-1198 (syntmp-make-binding-wrap-131 syntmp-ids-1193 syntmp-labels-1196 syntmp-w-1190)) (syntmp-nr-1199 (syntmp-extend-var-env-109 syntmp-labels-1196 syntmp-new-vars-1197 syntmp-r-1189))) (syntmp-constructor-1192 syntmp-s-1191 syntmp-new-vars-1197 (map (lambda (syntmp-x-1200) (syntmp-chi-150 syntmp-x-1200 syntmp-r-1189 syntmp-w-1190)) syntmp-vals-1194) (syntmp-chi-body-154 syntmp-exps-1195 (syntmp-source-wrap-143 syntmp-e-1188 syntmp-nw-1198 syntmp-s-1191) syntmp-nr-1199 syntmp-nw-1198)))))))) (lambda (syntmp-e-1201 syntmp-r-1202 syntmp-w-1203 syntmp-s-1204) ((lambda (syntmp-tmp-1205) ((lambda (syntmp-tmp-1206) (if syntmp-tmp-1206 (apply (lambda (syntmp-_-1207 syntmp-id-1208 syntmp-val-1209 syntmp-e1-1210 syntmp-e2-1211) (syntmp-chi-let-1187 syntmp-e-1201 syntmp-r-1202 syntmp-w-1203 syntmp-s-1204 syntmp-build-let-96 syntmp-id-1208 syntmp-val-1209 (cons syntmp-e1-1210 syntmp-e2-1211))) syntmp-tmp-1206) ((lambda (syntmp-tmp-1215) (if (if syntmp-tmp-1215 (apply (lambda (syntmp-_-1216 syntmp-f-1217 syntmp-id-1218 syntmp-val-1219 syntmp-e1-1220 syntmp-e2-1221) (syntmp-id?-114 syntmp-f-1217)) syntmp-tmp-1215) #f) (apply (lambda (syntmp-_-1222 syntmp-f-1223 syntmp-id-1224 syntmp-val-1225 syntmp-e1-1226 syntmp-e2-1227) (syntmp-chi-let-1187 syntmp-e-1201 syntmp-r-1202 syntmp-w-1203 syntmp-s-1204 syntmp-build-named-let-97 (cons syntmp-f-1223 syntmp-id-1224) syntmp-val-1225 (cons syntmp-e1-1226 syntmp-e2-1227))) syntmp-tmp-1215) ((lambda (syntmp-_-1231) (syntax-error (syntmp-source-wrap-143 syntmp-e-1201 syntmp-w-1203 syntmp-s-1204))) syntmp-tmp-1205))) (syntax-dispatch syntmp-tmp-1205 (quote (any any #(each (any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1205 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1201)))) (syntmp-global-extend-112 (quote core) (quote letrec) (lambda (syntmp-e-1232 syntmp-r-1233 syntmp-w-1234 syntmp-s-1235) ((lambda (syntmp-tmp-1236) ((lambda (syntmp-tmp-1237) (if syntmp-tmp-1237 (apply (lambda (syntmp-_-1238 syntmp-id-1239 syntmp-val-1240 syntmp-e1-1241 syntmp-e2-1242) (let ((syntmp-ids-1243 syntmp-id-1239)) (if (not (syntmp-valid-bound-ids?-139 syntmp-ids-1243)) (syntax-error syntmp-e-1232 "duplicate bound variable in") (let ((syntmp-labels-1245 (syntmp-gen-labels-120 syntmp-ids-1243)) (syntmp-new-vars-1246 (map syntmp-gen-var-162 syntmp-ids-1243))) (let ((syntmp-w-1247 (syntmp-make-binding-wrap-131 syntmp-ids-1243 syntmp-labels-1245 syntmp-w-1234)) (syntmp-r-1248 (syntmp-extend-var-env-109 syntmp-labels-1245 syntmp-new-vars-1246 syntmp-r-1233))) (syntmp-build-letrec-98 syntmp-s-1235 syntmp-new-vars-1246 (map (lambda (syntmp-x-1249) (syntmp-chi-150 syntmp-x-1249 syntmp-r-1248 syntmp-w-1247)) syntmp-val-1240) (syntmp-chi-body-154 (cons syntmp-e1-1241 syntmp-e2-1242) (syntmp-source-wrap-143 syntmp-e-1232 syntmp-w-1247 syntmp-s-1235) syntmp-r-1248 syntmp-w-1247))))))) syntmp-tmp-1237) ((lambda (syntmp-_-1252) (syntax-error (syntmp-source-wrap-143 syntmp-e-1232 syntmp-w-1234 syntmp-s-1235))) syntmp-tmp-1236))) (syntax-dispatch syntmp-tmp-1236 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1232))) (syntmp-global-extend-112 (quote core) (quote set!) (lambda (syntmp-e-1253 syntmp-r-1254 syntmp-w-1255 syntmp-s-1256) ((lambda (syntmp-tmp-1257) ((lambda (syntmp-tmp-1258) (if (if syntmp-tmp-1258 (apply (lambda (syntmp-_-1259 syntmp-id-1260 syntmp-val-1261) (syntmp-id?-114 syntmp-id-1260)) syntmp-tmp-1258) #f) (apply (lambda (syntmp-_-1262 syntmp-id-1263 syntmp-val-1264) (let ((syntmp-val-1265 (syntmp-chi-150 syntmp-val-1264 syntmp-r-1254 syntmp-w-1255)) (syntmp-n-1266 (syntmp-id-var-name-136 syntmp-id-1263 syntmp-w-1255))) (let ((syntmp-b-1267 (syntmp-lookup-111 syntmp-n-1266 syntmp-r-1254))) (let ((syntmp-t-1268 (syntmp-binding-type-106 syntmp-b-1267))) (if (memv syntmp-t-1268 (quote (lexical))) (list (quote set!) (syntmp-binding-value-107 syntmp-b-1267) syntmp-val-1265) (if (memv syntmp-t-1268 (quote (global))) (list (quote set!) syntmp-n-1266 syntmp-val-1265) (if (memv syntmp-t-1268 (quote (displaced-lexical))) (syntax-error (syntmp-wrap-142 syntmp-id-1263 syntmp-w-1255) "identifier out of context") (syntax-error (syntmp-source-wrap-143 syntmp-e-1253 syntmp-w-1255 syntmp-s-1256))))))))) syntmp-tmp-1258) ((lambda (syntmp-tmp-1269) (if syntmp-tmp-1269 (apply (lambda (syntmp-_-1270 syntmp-getter-1271 syntmp-arg-1272 syntmp-val-1273) (cons (syntmp-chi-150 (list (quote #(syntax-object setter ((top) #(ribcage #(_ getter arg val) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(e r w s) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) syntmp-getter-1271) syntmp-r-1254 syntmp-w-1255) (map (lambda (syntmp-e-1274) (syntmp-chi-150 syntmp-e-1274 syntmp-r-1254 syntmp-w-1255)) (append syntmp-arg-1272 (list syntmp-val-1273))))) syntmp-tmp-1269) ((lambda (syntmp-_-1276) (syntax-error (syntmp-source-wrap-143 syntmp-e-1253 syntmp-w-1255 syntmp-s-1256))) syntmp-tmp-1257))) (syntax-dispatch syntmp-tmp-1257 (quote (any (any . each-any) any)))))) (syntax-dispatch syntmp-tmp-1257 (quote (any any any))))) syntmp-e-1253))) (syntmp-global-extend-112 (quote begin) (quote begin) (quote ())) (syntmp-global-extend-112 (quote define) (quote define) (quote ())) (syntmp-global-extend-112 (quote define-syntax) (quote define-syntax) (quote ())) (syntmp-global-extend-112 (quote eval-when) (quote eval-when) (quote ())) (syntmp-global-extend-112 (quote core) (quote syntax-case) (letrec ((syntmp-gen-syntax-case-1280 (lambda (syntmp-x-1281 syntmp-keys-1282 syntmp-clauses-1283 syntmp-r-1284) (if (null? syntmp-clauses-1283) (list (quote syntax-error) syntmp-x-1281) ((lambda (syntmp-tmp-1285) ((lambda (syntmp-tmp-1286) (if syntmp-tmp-1286 (apply (lambda (syntmp-pat-1287 syntmp-exp-1288) (if (and (syntmp-id?-114 syntmp-pat-1287) (andmap (lambda (syntmp-x-1289) (not (syntmp-free-id=?-137 syntmp-pat-1287 syntmp-x-1289))) (cons (quote #(syntax-object ... ((top) #(ribcage #(pat exp) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x keys clauses r) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage (gen-syntax-case gen-clause build-dispatch-call convert-pattern) ((top) (top) (top) (top)) ("i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) syntmp-keys-1282))) (let ((syntmp-labels-1290 (list (syntmp-gen-label-119))) (syntmp-var-1291 (syntmp-gen-var-162 syntmp-pat-1287))) (list (list (quote lambda) (list syntmp-var-1291) (syntmp-chi-150 syntmp-exp-1288 (syntmp-extend-env-108 syntmp-labels-1290 (list (cons (quote syntax) (cons syntmp-var-1291 0))) syntmp-r-1284) (syntmp-make-binding-wrap-131 (list syntmp-pat-1287) syntmp-labels-1290 (quote (()))))) syntmp-x-1281)) (syntmp-gen-clause-1279 syntmp-x-1281 syntmp-keys-1282 (cdr syntmp-clauses-1283) syntmp-r-1284 syntmp-pat-1287 #t syntmp-exp-1288))) syntmp-tmp-1286) ((lambda (syntmp-tmp-1292) (if syntmp-tmp-1292 (apply (lambda (syntmp-pat-1293 syntmp-fender-1294 syntmp-exp-1295) (syntmp-gen-clause-1279 syntmp-x-1281 syntmp-keys-1282 (cdr syntmp-clauses-1283) syntmp-r-1284 syntmp-pat-1293 syntmp-fender-1294 syntmp-exp-1295)) syntmp-tmp-1292) ((lambda (syntmp-_-1296) (syntax-error (car syntmp-clauses-1283) "invalid syntax-case clause")) syntmp-tmp-1285))) (syntax-dispatch syntmp-tmp-1285 (quote (any any any)))))) (syntax-dispatch syntmp-tmp-1285 (quote (any any))))) (car syntmp-clauses-1283))))) (syntmp-gen-clause-1279 (lambda (syntmp-x-1297 syntmp-keys-1298 syntmp-clauses-1299 syntmp-r-1300 syntmp-pat-1301 syntmp-fender-1302 syntmp-exp-1303) (call-with-values (lambda () (syntmp-convert-pattern-1277 syntmp-pat-1301 syntmp-keys-1298)) (lambda (syntmp-p-1304 syntmp-pvars-1305) (cond ((not (syntmp-distinct-bound-ids?-140 (map car syntmp-pvars-1305))) (syntax-error syntmp-pat-1301 "duplicate pattern variable in syntax-case pattern")) ((not (andmap (lambda (syntmp-x-1306) (not (syntmp-ellipsis?-159 (car syntmp-x-1306)))) syntmp-pvars-1305)) (syntax-error syntmp-pat-1301 "misplaced ellipsis in syntax-case pattern")) (else (let ((syntmp-y-1307 (syntmp-gen-var-162 (quote tmp)))) (list (list (quote lambda) (list syntmp-y-1307) (let ((syntmp-y-1308 syntmp-y-1307)) (list (quote if) ((lambda (syntmp-tmp-1309) ((lambda (syntmp-tmp-1310) (if syntmp-tmp-1310 (apply (lambda () syntmp-y-1308) syntmp-tmp-1310) ((lambda (syntmp-_-1311) (list (quote if) syntmp-y-1308 (syntmp-build-dispatch-call-1278 syntmp-pvars-1305 syntmp-fender-1302 syntmp-y-1308 syntmp-r-1300) (syntmp-build-data-94 #f #f))) syntmp-tmp-1309))) (syntax-dispatch syntmp-tmp-1309 (quote #(atom #t))))) syntmp-fender-1302) (syntmp-build-dispatch-call-1278 syntmp-pvars-1305 syntmp-exp-1303 syntmp-y-1308 syntmp-r-1300) (syntmp-gen-syntax-case-1280 syntmp-x-1297 syntmp-keys-1298 syntmp-clauses-1299 syntmp-r-1300)))) (if (eq? syntmp-p-1304 (quote any)) (list (quote list) syntmp-x-1297) (list (quote syntax-dispatch) syntmp-x-1297 (syntmp-build-data-94 #f syntmp-p-1304))))))))))) (syntmp-build-dispatch-call-1278 (lambda (syntmp-pvars-1312 syntmp-exp-1313 syntmp-y-1314 syntmp-r-1315) (let ((syntmp-ids-1316 (map car syntmp-pvars-1312)) (syntmp-levels-1317 (map cdr syntmp-pvars-1312))) (let ((syntmp-labels-1318 (syntmp-gen-labels-120 syntmp-ids-1316)) (syntmp-new-vars-1319 (map syntmp-gen-var-162 syntmp-ids-1316))) (list (quote apply) (list (quote lambda) syntmp-new-vars-1319 (syntmp-chi-150 syntmp-exp-1313 (syntmp-extend-env-108 syntmp-labels-1318 (map (lambda (syntmp-var-1320 syntmp-level-1321) (cons (quote syntax) (cons syntmp-var-1320 syntmp-level-1321))) syntmp-new-vars-1319 (map cdr syntmp-pvars-1312)) syntmp-r-1315) (syntmp-make-binding-wrap-131 syntmp-ids-1316 syntmp-labels-1318 (quote (()))))) syntmp-y-1314))))) (syntmp-convert-pattern-1277 (lambda (syntmp-pattern-1322 syntmp-keys-1323) (let syntmp-cvt-1324 ((syntmp-p-1325 syntmp-pattern-1322) (syntmp-n-1326 0) (syntmp-ids-1327 (quote ()))) (if (syntmp-id?-114 syntmp-p-1325) (if (syntmp-bound-id-member?-141 syntmp-p-1325 syntmp-keys-1323) (values (vector (quote free-id) syntmp-p-1325) syntmp-ids-1327) (values (quote any) (cons (cons syntmp-p-1325 syntmp-n-1326) syntmp-ids-1327))) ((lambda (syntmp-tmp-1328) ((lambda (syntmp-tmp-1329) (if (if syntmp-tmp-1329 (apply (lambda (syntmp-x-1330 syntmp-dots-1331) (syntmp-ellipsis?-159 syntmp-dots-1331)) syntmp-tmp-1329) #f) (apply (lambda (syntmp-x-1332 syntmp-dots-1333) (call-with-values (lambda () (syntmp-cvt-1324 syntmp-x-1332 (syntmp-fx+-85 syntmp-n-1326 1) syntmp-ids-1327)) (lambda (syntmp-p-1334 syntmp-ids-1335) (values (if (eq? syntmp-p-1334 (quote any)) (quote each-any) (vector (quote each) syntmp-p-1334)) syntmp-ids-1335)))) syntmp-tmp-1329) ((lambda (syntmp-tmp-1336) (if syntmp-tmp-1336 (apply (lambda (syntmp-x-1337 syntmp-y-1338) (call-with-values (lambda () (syntmp-cvt-1324 syntmp-y-1338 syntmp-n-1326 syntmp-ids-1327)) (lambda (syntmp-y-1339 syntmp-ids-1340) (call-with-values (lambda () (syntmp-cvt-1324 syntmp-x-1337 syntmp-n-1326 syntmp-ids-1340)) (lambda (syntmp-x-1341 syntmp-ids-1342) (values (cons syntmp-x-1341 syntmp-y-1339) syntmp-ids-1342)))))) syntmp-tmp-1336) ((lambda (syntmp-tmp-1343) (if syntmp-tmp-1343 (apply (lambda () (values (quote ()) syntmp-ids-1327)) syntmp-tmp-1343) ((lambda (syntmp-tmp-1344) (if syntmp-tmp-1344 (apply (lambda (syntmp-x-1345) (call-with-values (lambda () (syntmp-cvt-1324 syntmp-x-1345 syntmp-n-1326 syntmp-ids-1327)) (lambda (syntmp-p-1347 syntmp-ids-1348) (values (vector (quote vector) syntmp-p-1347) syntmp-ids-1348)))) syntmp-tmp-1344) ((lambda (syntmp-x-1349) (values (vector (quote atom) (syntmp-strip-161 syntmp-p-1325 (quote (())))) syntmp-ids-1327)) syntmp-tmp-1328))) (syntax-dispatch syntmp-tmp-1328 (quote #(vector each-any)))))) (syntax-dispatch syntmp-tmp-1328 (quote ()))))) (syntax-dispatch syntmp-tmp-1328 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1328 (quote (any any))))) syntmp-p-1325)))))) (lambda (syntmp-e-1350 syntmp-r-1351 syntmp-w-1352 syntmp-s-1353) (let ((syntmp-e-1354 (syntmp-source-wrap-143 syntmp-e-1350 syntmp-w-1352 syntmp-s-1353))) ((lambda (syntmp-tmp-1355) ((lambda (syntmp-tmp-1356) (if syntmp-tmp-1356 (apply (lambda (syntmp-_-1357 syntmp-val-1358 syntmp-key-1359 syntmp-m-1360) (if (andmap (lambda (syntmp-x-1361) (and (syntmp-id?-114 syntmp-x-1361) (not (syntmp-ellipsis?-159 syntmp-x-1361)))) syntmp-key-1359) (let ((syntmp-x-1363 (syntmp-gen-var-162 (quote tmp)))) (list (list (quote lambda) (list syntmp-x-1363) (syntmp-gen-syntax-case-1280 syntmp-x-1363 syntmp-key-1359 syntmp-m-1360 syntmp-r-1351)) (syntmp-chi-150 syntmp-val-1358 syntmp-r-1351 (quote (()))))) (syntax-error syntmp-e-1354 "invalid literals list in"))) syntmp-tmp-1356) (syntax-error syntmp-tmp-1355))) (syntax-dispatch syntmp-tmp-1355 (quote (any any each-any . each-any))))) syntmp-e-1354))))) (set! sc-expand (let ((syntmp-m-1366 (quote e)) (syntmp-esew-1367 (quote (eval)))) (lambda (syntmp-x-1368) (if (and (pair? syntmp-x-1368) (equal? (car syntmp-x-1368) syntmp-noexpand-84)) (cadr syntmp-x-1368) (syntmp-chi-top-149 syntmp-x-1368 (quote ()) (quote ((top))) syntmp-m-1366 syntmp-esew-1367))))) (set! sc-expand3 (let ((syntmp-m-1369 (quote e)) (syntmp-esew-1370 (quote (eval)))) (lambda (syntmp-x-1372 . syntmp-rest-1371) (if (and (pair? syntmp-x-1372) (equal? (car syntmp-x-1372) syntmp-noexpand-84)) (cadr syntmp-x-1372) (syntmp-chi-top-149 syntmp-x-1372 (quote ()) (quote ((top))) (if (null? syntmp-rest-1371) syntmp-m-1369 (car syntmp-rest-1371)) (if (or (null? syntmp-rest-1371) (null? (cdr syntmp-rest-1371))) syntmp-esew-1370 (cadr syntmp-rest-1371))))))) (set! identifier? (lambda (syntmp-x-1373) (syntmp-nonsymbol-id?-113 syntmp-x-1373))) (set! datum->syntax-object (lambda (syntmp-id-1374 syntmp-datum-1375) (syntmp-make-syntax-object-99 syntmp-datum-1375 (syntmp-syntax-object-wrap-102 syntmp-id-1374)))) (set! syntax-object->datum (lambda (syntmp-x-1376) (syntmp-strip-161 syntmp-x-1376 (quote (()))))) (set! generate-temporaries (lambda (syntmp-ls-1377) (begin (let ((syntmp-x-1378 syntmp-ls-1377)) (if (not (list? syntmp-x-1378)) (syntmp-error-hook-91 (quote generate-temporaries) "invalid argument" syntmp-x-1378))) (map (lambda (syntmp-x-1379) (syntmp-wrap-142 (gensym) (quote ((top))))) syntmp-ls-1377)))) (set! free-identifier=? (lambda (syntmp-x-1380 syntmp-y-1381) (begin (let ((syntmp-x-1382 syntmp-x-1380)) (if (not (syntmp-nonsymbol-id?-113 syntmp-x-1382)) (syntmp-error-hook-91 (quote free-identifier=?) "invalid argument" syntmp-x-1382))) (let ((syntmp-x-1383 syntmp-y-1381)) (if (not (syntmp-nonsymbol-id?-113 syntmp-x-1383)) (syntmp-error-hook-91 (quote free-identifier=?) "invalid argument" syntmp-x-1383))) (syntmp-free-id=?-137 syntmp-x-1380 syntmp-y-1381)))) (set! bound-identifier=? (lambda (syntmp-x-1384 syntmp-y-1385) (begin (let ((syntmp-x-1386 syntmp-x-1384)) (if (not (syntmp-nonsymbol-id?-113 syntmp-x-1386)) (syntmp-error-hook-91 (quote bound-identifier=?) "invalid argument" syntmp-x-1386))) (let ((syntmp-x-1387 syntmp-y-1385)) (if (not (syntmp-nonsymbol-id?-113 syntmp-x-1387)) (syntmp-error-hook-91 (quote bound-identifier=?) "invalid argument" syntmp-x-1387))) (syntmp-bound-id=?-138 syntmp-x-1384 syntmp-y-1385)))) (set! syntax-error (lambda (syntmp-object-1389 . syntmp-messages-1388) (begin (for-each (lambda (syntmp-x-1390) (let ((syntmp-x-1391 syntmp-x-1390)) (if (not (string? syntmp-x-1391)) (syntmp-error-hook-91 (quote syntax-error) "invalid argument" syntmp-x-1391)))) syntmp-messages-1388) (let ((syntmp-message-1392 (if (null? syntmp-messages-1388) "invalid syntax" (apply string-append syntmp-messages-1388)))) (syntmp-error-hook-91 #f syntmp-message-1392 (syntmp-strip-161 syntmp-object-1389 (quote (())))))))) (set! install-global-transformer (lambda (syntmp-sym-1393 syntmp-v-1394) (begin (let ((syntmp-x-1395 syntmp-sym-1393)) (if (not (symbol? syntmp-x-1395)) (syntmp-error-hook-91 (quote define-syntax) "invalid argument" syntmp-x-1395))) (let ((syntmp-x-1396 syntmp-v-1394)) (if (not (procedure? syntmp-x-1396)) (syntmp-error-hook-91 (quote define-syntax) "invalid argument" syntmp-x-1396))) (syntmp-global-extend-112 (quote macro) syntmp-sym-1393 syntmp-v-1394)))) (letrec ((syntmp-match-1401 (lambda (syntmp-e-1402 syntmp-p-1403 syntmp-w-1404 syntmp-r-1405) (cond ((not syntmp-r-1405) #f) ((eq? syntmp-p-1403 (quote any)) (cons (syntmp-wrap-142 syntmp-e-1402 syntmp-w-1404) syntmp-r-1405)) ((syntmp-syntax-object?-100 syntmp-e-1402) (syntmp-match*-1400 (let ((syntmp-e-1406 (syntmp-syntax-object-expression-101 syntmp-e-1402))) (if (annotation? syntmp-e-1406) (annotation-expression syntmp-e-1406) syntmp-e-1406)) syntmp-p-1403 (syntmp-join-wraps-133 syntmp-w-1404 (syntmp-syntax-object-wrap-102 syntmp-e-1402)) syntmp-r-1405)) (else (syntmp-match*-1400 (let ((syntmp-e-1407 syntmp-e-1402)) (if (annotation? syntmp-e-1407) (annotation-expression syntmp-e-1407) syntmp-e-1407)) syntmp-p-1403 syntmp-w-1404 syntmp-r-1405))))) (syntmp-match*-1400 (lambda (syntmp-e-1408 syntmp-p-1409 syntmp-w-1410 syntmp-r-1411) (cond ((null? syntmp-p-1409) (and (null? syntmp-e-1408) syntmp-r-1411)) ((pair? syntmp-p-1409) (and (pair? syntmp-e-1408) (syntmp-match-1401 (car syntmp-e-1408) (car syntmp-p-1409) syntmp-w-1410 (syntmp-match-1401 (cdr syntmp-e-1408) (cdr syntmp-p-1409) syntmp-w-1410 syntmp-r-1411)))) ((eq? syntmp-p-1409 (quote each-any)) (let ((syntmp-l-1412 (syntmp-match-each-any-1398 syntmp-e-1408 syntmp-w-1410))) (and syntmp-l-1412 (cons syntmp-l-1412 syntmp-r-1411)))) (else (let ((syntmp-t-1413 (vector-ref syntmp-p-1409 0))) (if (memv syntmp-t-1413 (quote (each))) (if (null? syntmp-e-1408) (syntmp-match-empty-1399 (vector-ref syntmp-p-1409 1) syntmp-r-1411) (let ((syntmp-l-1414 (syntmp-match-each-1397 syntmp-e-1408 (vector-ref syntmp-p-1409 1) syntmp-w-1410))) (and syntmp-l-1414 (let syntmp-collect-1415 ((syntmp-l-1416 syntmp-l-1414)) (if (null? (car syntmp-l-1416)) syntmp-r-1411 (cons (map car syntmp-l-1416) (syntmp-collect-1415 (map cdr syntmp-l-1416)))))))) (if (memv syntmp-t-1413 (quote (free-id))) (and (syntmp-id?-114 syntmp-e-1408) (syntmp-free-id=?-137 (syntmp-wrap-142 syntmp-e-1408 syntmp-w-1410) (vector-ref syntmp-p-1409 1)) syntmp-r-1411) (if (memv syntmp-t-1413 (quote (atom))) (and (equal? (vector-ref syntmp-p-1409 1) (syntmp-strip-161 syntmp-e-1408 syntmp-w-1410)) syntmp-r-1411) (if (memv syntmp-t-1413 (quote (vector))) (and (vector? syntmp-e-1408) (syntmp-match-1401 (vector->list syntmp-e-1408) (vector-ref syntmp-p-1409 1) syntmp-w-1410 syntmp-r-1411))))))))))) (syntmp-match-empty-1399 (lambda (syntmp-p-1417 syntmp-r-1418) (cond ((null? syntmp-p-1417) syntmp-r-1418) ((eq? syntmp-p-1417 (quote any)) (cons (quote ()) syntmp-r-1418)) ((pair? syntmp-p-1417) (syntmp-match-empty-1399 (car syntmp-p-1417) (syntmp-match-empty-1399 (cdr syntmp-p-1417) syntmp-r-1418))) ((eq? syntmp-p-1417 (quote each-any)) (cons (quote ()) syntmp-r-1418)) (else (let ((syntmp-t-1419 (vector-ref syntmp-p-1417 0))) (if (memv syntmp-t-1419 (quote (each))) (syntmp-match-empty-1399 (vector-ref syntmp-p-1417 1) syntmp-r-1418) (if (memv syntmp-t-1419 (quote (free-id atom))) syntmp-r-1418 (if (memv syntmp-t-1419 (quote (vector))) (syntmp-match-empty-1399 (vector-ref syntmp-p-1417 1) syntmp-r-1418))))))))) (syntmp-match-each-any-1398 (lambda (syntmp-e-1420 syntmp-w-1421) (cond ((annotation? syntmp-e-1420) (syntmp-match-each-any-1398 (annotation-expression syntmp-e-1420) syntmp-w-1421)) ((pair? syntmp-e-1420) (let ((syntmp-l-1422 (syntmp-match-each-any-1398 (cdr syntmp-e-1420) syntmp-w-1421))) (and syntmp-l-1422 (cons (syntmp-wrap-142 (car syntmp-e-1420) syntmp-w-1421) syntmp-l-1422)))) ((null? syntmp-e-1420) (quote ())) ((syntmp-syntax-object?-100 syntmp-e-1420) (syntmp-match-each-any-1398 (syntmp-syntax-object-expression-101 syntmp-e-1420) (syntmp-join-wraps-133 syntmp-w-1421 (syntmp-syntax-object-wrap-102 syntmp-e-1420)))) (else #f)))) (syntmp-match-each-1397 (lambda (syntmp-e-1423 syntmp-p-1424 syntmp-w-1425) (cond ((annotation? syntmp-e-1423) (syntmp-match-each-1397 (annotation-expression syntmp-e-1423) syntmp-p-1424 syntmp-w-1425)) ((pair? syntmp-e-1423) (let ((syntmp-first-1426 (syntmp-match-1401 (car syntmp-e-1423) syntmp-p-1424 syntmp-w-1425 (quote ())))) (and syntmp-first-1426 (let ((syntmp-rest-1427 (syntmp-match-each-1397 (cdr syntmp-e-1423) syntmp-p-1424 syntmp-w-1425))) (and syntmp-rest-1427 (cons syntmp-first-1426 syntmp-rest-1427)))))) ((null? syntmp-e-1423) (quote ())) ((syntmp-syntax-object?-100 syntmp-e-1423) (syntmp-match-each-1397 (syntmp-syntax-object-expression-101 syntmp-e-1423) syntmp-p-1424 (syntmp-join-wraps-133 syntmp-w-1425 (syntmp-syntax-object-wrap-102 syntmp-e-1423)))) (else #f))))) (begin (set! syntax-dispatch (lambda (syntmp-e-1428 syntmp-p-1429) (cond ((eq? syntmp-p-1429 (quote any)) (list syntmp-e-1428)) ((syntmp-syntax-object?-100 syntmp-e-1428) (syntmp-match*-1400 (let ((syntmp-e-1430 (syntmp-syntax-object-expression-101 syntmp-e-1428))) (if (annotation? syntmp-e-1430) (annotation-expression syntmp-e-1430) syntmp-e-1430)) syntmp-p-1429 (syntmp-syntax-object-wrap-102 syntmp-e-1428) (quote ()))) (else (syntmp-match*-1400 (let ((syntmp-e-1431 syntmp-e-1428)) (if (annotation? syntmp-e-1431) (annotation-expression syntmp-e-1431) syntmp-e-1431)) syntmp-p-1429 (quote (())) (quote ())))))) (set! sc-chi syntmp-chi-150)))))
-(install-global-transformer (quote with-syntax) (lambda (syntmp-x-1432) ((lambda (syntmp-tmp-1433) ((lambda (syntmp-tmp-1434) (if syntmp-tmp-1434 (apply (lambda (syntmp-_-1435 syntmp-e1-1436 syntmp-e2-1437) (cons (quote #(syntax-object begin ((top) #(ribcage #(_ e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1436 syntmp-e2-1437))) syntmp-tmp-1434) ((lambda (syntmp-tmp-1439) (if syntmp-tmp-1439 (apply (lambda (syntmp-_-1440 syntmp-out-1441 syntmp-in-1442 syntmp-e1-1443 syntmp-e2-1444) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-in-1442 (quote ()) (list syntmp-out-1441 (cons (quote #(syntax-object begin ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1443 syntmp-e2-1444))))) syntmp-tmp-1439) ((lambda (syntmp-tmp-1446) (if syntmp-tmp-1446 (apply (lambda (syntmp-_-1447 syntmp-out-1448 syntmp-in-1449 syntmp-e1-1450 syntmp-e2-1451) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote #(syntax-object list ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-in-1449) (quote ()) (list syntmp-out-1448 (cons (quote #(syntax-object begin ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1450 syntmp-e2-1451))))) syntmp-tmp-1446) (syntax-error syntmp-tmp-1433))) (syntax-dispatch syntmp-tmp-1433 (quote (any #(each (any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1433 (quote (any ((any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1433 (quote (any () any . each-any))))) syntmp-x-1432)))
-(install-global-transformer (quote syntax-rules) (lambda (syntmp-x-1473) ((lambda (syntmp-tmp-1474) ((lambda (syntmp-tmp-1475) (if syntmp-tmp-1475 (apply (lambda (syntmp-_-1476 syntmp-k-1477 syntmp-keyword-1478 syntmp-pattern-1479 syntmp-template-1480) (list (quote #(syntax-object lambda ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object x ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))) (cons (quote #(syntax-object syntax-case ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote #(syntax-object x ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-k-1477 (map (lambda (syntmp-tmp-1483 syntmp-tmp-1482) (list (cons (quote #(syntax-object dummy ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-tmp-1482) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-tmp-1483))) syntmp-template-1480 syntmp-pattern-1479)))))) syntmp-tmp-1475) (syntax-error syntmp-tmp-1474))) (syntax-dispatch syntmp-tmp-1474 (quote (any each-any . #(each ((any . any) any))))))) syntmp-x-1473)))
-(install-global-transformer (quote let*) (lambda (syntmp-x-1494) ((lambda (syntmp-tmp-1495) ((lambda (syntmp-tmp-1496) (if (if syntmp-tmp-1496 (apply (lambda (syntmp-let*-1497 syntmp-x-1498 syntmp-v-1499 syntmp-e1-1500 syntmp-e2-1501) (andmap identifier? syntmp-x-1498)) syntmp-tmp-1496) #f) (apply (lambda (syntmp-let*-1503 syntmp-x-1504 syntmp-v-1505 syntmp-e1-1506 syntmp-e2-1507) (let syntmp-f-1508 ((syntmp-bindings-1509 (map list syntmp-x-1504 syntmp-v-1505))) (if (null? syntmp-bindings-1509) (cons (quote #(syntax-object let ((top) #(ribcage () () ()) #(ribcage #(f bindings) #((top) (top)) #("i" "i")) #(ribcage #(let* x v e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote ()) (cons syntmp-e1-1506 syntmp-e2-1507))) ((lambda (syntmp-tmp-1513) ((lambda (syntmp-tmp-1514) (if syntmp-tmp-1514 (apply (lambda (syntmp-body-1515 syntmp-binding-1516) (list (quote #(syntax-object let ((top) #(ribcage #(body binding) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(f bindings) #((top) (top)) #("i" "i")) #(ribcage #(let* x v e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list syntmp-binding-1516) syntmp-body-1515)) syntmp-tmp-1514) (syntax-error syntmp-tmp-1513))) (syntax-dispatch syntmp-tmp-1513 (quote (any any))))) (list (syntmp-f-1508 (cdr syntmp-bindings-1509)) (car syntmp-bindings-1509)))))) syntmp-tmp-1496) (syntax-error syntmp-tmp-1495))) (syntax-dispatch syntmp-tmp-1495 (quote (any #(each (any any)) any . each-any))))) syntmp-x-1494)))
-(install-global-transformer (quote do) (lambda (syntmp-orig-x-1536) ((lambda (syntmp-tmp-1537) ((lambda (syntmp-tmp-1538) (if syntmp-tmp-1538 (apply (lambda (syntmp-_-1539 syntmp-var-1540 syntmp-init-1541 syntmp-step-1542 syntmp-e0-1543 syntmp-e1-1544 syntmp-c-1545) ((lambda (syntmp-tmp-1546) ((lambda (syntmp-tmp-1547) (if syntmp-tmp-1547 (apply (lambda (syntmp-step-1548) ((lambda (syntmp-tmp-1549) ((lambda (syntmp-tmp-1550) (if syntmp-tmp-1550 (apply (lambda () (list (quote #(syntax-object let ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (quote #(syntax-object doloop ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (map list syntmp-var-1540 syntmp-init-1541) (list (quote #(syntax-object if ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (list (quote #(syntax-object not ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-e0-1543) (cons (quote #(syntax-object begin ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (append syntmp-c-1545 (list (cons (quote #(syntax-object doloop ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-step-1548))))))) syntmp-tmp-1550) ((lambda (syntmp-tmp-1555) (if syntmp-tmp-1555 (apply (lambda (syntmp-e1-1556 syntmp-e2-1557) (list (quote #(syntax-object let ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (quote #(syntax-object doloop ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (map list syntmp-var-1540 syntmp-init-1541) (list (quote #(syntax-object if ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-e0-1543 (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (cons syntmp-e1-1556 syntmp-e2-1557)) (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (append syntmp-c-1545 (list (cons (quote #(syntax-object doloop ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-step-1548))))))) syntmp-tmp-1555) (syntax-error syntmp-tmp-1549))) (syntax-dispatch syntmp-tmp-1549 (quote (any . each-any)))))) (syntax-dispatch syntmp-tmp-1549 (quote ())))) syntmp-e1-1544)) syntmp-tmp-1547) (syntax-error syntmp-tmp-1546))) (syntax-dispatch syntmp-tmp-1546 (quote each-any)))) (map (lambda (syntmp-v-1564 syntmp-s-1565) ((lambda (syntmp-tmp-1566) ((lambda (syntmp-tmp-1567) (if syntmp-tmp-1567 (apply (lambda () syntmp-v-1564) syntmp-tmp-1567) ((lambda (syntmp-tmp-1568) (if syntmp-tmp-1568 (apply (lambda (syntmp-e-1569) syntmp-e-1569) syntmp-tmp-1568) ((lambda (syntmp-_-1570) (syntax-error syntmp-orig-x-1536)) syntmp-tmp-1566))) (syntax-dispatch syntmp-tmp-1566 (quote (any)))))) (syntax-dispatch syntmp-tmp-1566 (quote ())))) syntmp-s-1565)) syntmp-var-1540 syntmp-step-1542))) syntmp-tmp-1538) (syntax-error syntmp-tmp-1537))) (syntax-dispatch syntmp-tmp-1537 (quote (any #(each (any any . any)) (any . each-any) . each-any))))) syntmp-orig-x-1536)))
-(install-global-transformer (quote quasiquote) (letrec ((syntmp-quasicons-1598 (lambda (syntmp-x-1602 syntmp-y-1603) ((lambda (syntmp-tmp-1604) ((lambda (syntmp-tmp-1605) (if syntmp-tmp-1605 (apply (lambda (syntmp-x-1606 syntmp-y-1607) ((lambda (syntmp-tmp-1608) ((lambda (syntmp-tmp-1609) (if syntmp-tmp-1609 (apply (lambda (syntmp-dy-1610) ((lambda (syntmp-tmp-1611) ((lambda (syntmp-tmp-1612) (if syntmp-tmp-1612 (apply (lambda (syntmp-dx-1613) (list (quote #(syntax-object quote ((top) #(ribcage #(dx) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (cons syntmp-dx-1613 syntmp-dy-1610))) syntmp-tmp-1612) ((lambda (syntmp-_-1614) (if (null? syntmp-dy-1610) (list (quote #(syntax-object list ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1606) (list (quote #(syntax-object cons ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1606 syntmp-y-1607))) syntmp-tmp-1611))) (syntax-dispatch syntmp-tmp-1611 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-x-1606)) syntmp-tmp-1609) ((lambda (syntmp-tmp-1615) (if syntmp-tmp-1615 (apply (lambda (syntmp-stuff-1616) (cons (quote #(syntax-object list ((top) #(ribcage #(stuff) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (cons syntmp-x-1606 syntmp-stuff-1616))) syntmp-tmp-1615) ((lambda (syntmp-else-1617) (list (quote #(syntax-object cons ((top) #(ribcage #(else) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1606 syntmp-y-1607)) syntmp-tmp-1608))) (syntax-dispatch syntmp-tmp-1608 (quote (#(free-id #(syntax-object list ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) . any)))))) (syntax-dispatch syntmp-tmp-1608 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-y-1607)) syntmp-tmp-1605) (syntax-error syntmp-tmp-1604))) (syntax-dispatch syntmp-tmp-1604 (quote (any any))))) (list syntmp-x-1602 syntmp-y-1603)))) (syntmp-quasiappend-1599 (lambda (syntmp-x-1618 syntmp-y-1619) ((lambda (syntmp-tmp-1620) ((lambda (syntmp-tmp-1621) (if syntmp-tmp-1621 (apply (lambda (syntmp-x-1622 syntmp-y-1623) ((lambda (syntmp-tmp-1624) ((lambda (syntmp-tmp-1625) (if syntmp-tmp-1625 (apply (lambda () syntmp-x-1622) syntmp-tmp-1625) ((lambda (syntmp-_-1626) (list (quote #(syntax-object append ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1622 syntmp-y-1623)) syntmp-tmp-1624))) (syntax-dispatch syntmp-tmp-1624 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) ()))))) syntmp-y-1623)) syntmp-tmp-1621) (syntax-error syntmp-tmp-1620))) (syntax-dispatch syntmp-tmp-1620 (quote (any any))))) (list syntmp-x-1618 syntmp-y-1619)))) (syntmp-quasivector-1600 (lambda (syntmp-x-1627) ((lambda (syntmp-tmp-1628) ((lambda (syntmp-x-1629) ((lambda (syntmp-tmp-1630) ((lambda (syntmp-tmp-1631) (if syntmp-tmp-1631 (apply (lambda (syntmp-x-1632) (list (quote #(syntax-object quote ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (list->vector syntmp-x-1632))) syntmp-tmp-1631) ((lambda (syntmp-tmp-1634) (if syntmp-tmp-1634 (apply (lambda (syntmp-x-1635) (cons (quote #(syntax-object vector ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1635)) syntmp-tmp-1634) ((lambda (syntmp-_-1637) (list (quote #(syntax-object list->vector ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1629)) syntmp-tmp-1630))) (syntax-dispatch syntmp-tmp-1630 (quote (#(free-id #(syntax-object list ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) . each-any)))))) (syntax-dispatch syntmp-tmp-1630 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) each-any))))) syntmp-x-1629)) syntmp-tmp-1628)) syntmp-x-1627))) (syntmp-quasi-1601 (lambda (syntmp-p-1638 syntmp-lev-1639) ((lambda (syntmp-tmp-1640) ((lambda (syntmp-tmp-1641) (if syntmp-tmp-1641 (apply (lambda (syntmp-p-1642) (if (= syntmp-lev-1639 0) syntmp-p-1642 (syntmp-quasicons-1598 (quote (#(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object unquote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1601 (list syntmp-p-1642) (- syntmp-lev-1639 1))))) syntmp-tmp-1641) ((lambda (syntmp-tmp-1643) (if syntmp-tmp-1643 (apply (lambda (syntmp-p-1644 syntmp-q-1645) (if (= syntmp-lev-1639 0) (syntmp-quasiappend-1599 syntmp-p-1644 (syntmp-quasi-1601 syntmp-q-1645 syntmp-lev-1639)) (syntmp-quasicons-1598 (syntmp-quasicons-1598 (quote (#(syntax-object quote ((top) #(ribcage #(p q) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object unquote-splicing ((top) #(ribcage #(p q) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1601 (list syntmp-p-1644) (- syntmp-lev-1639 1))) (syntmp-quasi-1601 syntmp-q-1645 syntmp-lev-1639)))) syntmp-tmp-1643) ((lambda (syntmp-tmp-1646) (if syntmp-tmp-1646 (apply (lambda (syntmp-p-1647) (syntmp-quasicons-1598 (quote (#(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object quasiquote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1601 (list syntmp-p-1647) (+ syntmp-lev-1639 1)))) syntmp-tmp-1646) ((lambda (syntmp-tmp-1648) (if syntmp-tmp-1648 (apply (lambda (syntmp-p-1649 syntmp-q-1650) (syntmp-quasicons-1598 (syntmp-quasi-1601 syntmp-p-1649 syntmp-lev-1639) (syntmp-quasi-1601 syntmp-q-1650 syntmp-lev-1639))) syntmp-tmp-1648) ((lambda (syntmp-tmp-1651) (if syntmp-tmp-1651 (apply (lambda (syntmp-x-1652) (syntmp-quasivector-1600 (syntmp-quasi-1601 syntmp-x-1652 syntmp-lev-1639))) syntmp-tmp-1651) ((lambda (syntmp-p-1654) (list (quote #(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-p-1654)) syntmp-tmp-1640))) (syntax-dispatch syntmp-tmp-1640 (quote #(vector each-any)))))) (syntax-dispatch syntmp-tmp-1640 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1640 (quote (#(free-id #(syntax-object quasiquote ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any)))))) (syntax-dispatch syntmp-tmp-1640 (quote ((#(free-id #(syntax-object unquote-splicing ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any) . any)))))) (syntax-dispatch syntmp-tmp-1640 (quote (#(free-id #(syntax-object unquote ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-p-1638)))) (lambda (syntmp-x-1655) ((lambda (syntmp-tmp-1656) ((lambda (syntmp-tmp-1657) (if syntmp-tmp-1657 (apply (lambda (syntmp-_-1658 syntmp-e-1659) (syntmp-quasi-1601 syntmp-e-1659 0)) syntmp-tmp-1657) (syntax-error syntmp-tmp-1656))) (syntax-dispatch syntmp-tmp-1656 (quote (any any))))) syntmp-x-1655))))
-(install-global-transformer (quote include) (lambda (syntmp-x-1719) (letrec ((syntmp-read-file-1720 (lambda (syntmp-fn-1721 syntmp-k-1722) (let ((syntmp-p-1723 (open-input-file syntmp-fn-1721))) (let syntmp-f-1724 ((syntmp-x-1725 (read syntmp-p-1723))) (if (eof-object? syntmp-x-1725) (begin (close-input-port syntmp-p-1723) (quote ())) (cons (datum->syntax-object syntmp-k-1722 syntmp-x-1725) (syntmp-f-1724 (read syntmp-p-1723))))))))) ((lambda (syntmp-tmp-1726) ((lambda (syntmp-tmp-1727) (if syntmp-tmp-1727 (apply (lambda (syntmp-k-1728 syntmp-filename-1729) (let ((syntmp-fn-1730 (syntax-object->datum syntmp-filename-1729))) ((lambda (syntmp-tmp-1731) ((lambda (syntmp-tmp-1732) (if syntmp-tmp-1732 (apply (lambda (syntmp-exp-1733) (cons (quote #(syntax-object begin ((top) #(ribcage #(exp) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(fn) #((top)) #("i")) #(ribcage #(k filename) #((top) (top)) #("i" "i")) #(ribcage (read-file) ((top)) ("i")) #(ribcage #(x) #((top)) #("i"))))) syntmp-exp-1733)) syntmp-tmp-1732) (syntax-error syntmp-tmp-1731))) (syntax-dispatch syntmp-tmp-1731 (quote each-any)))) (syntmp-read-file-1720 syntmp-fn-1730 syntmp-k-1728)))) syntmp-tmp-1727) (syntax-error syntmp-tmp-1726))) (syntax-dispatch syntmp-tmp-1726 (quote (any any))))) syntmp-x-1719))))
-(install-global-transformer (quote unquote) (lambda (syntmp-x-1750) ((lambda (syntmp-tmp-1751) ((lambda (syntmp-tmp-1752) (if syntmp-tmp-1752 (apply (lambda (syntmp-_-1753 syntmp-e-1754) (error (quote unquote) "expression ,~s not valid outside of quasiquote" (syntax-object->datum syntmp-e-1754))) syntmp-tmp-1752) (syntax-error syntmp-tmp-1751))) (syntax-dispatch syntmp-tmp-1751 (quote (any any))))) syntmp-x-1750)))
-(install-global-transformer (quote unquote-splicing) (lambda (syntmp-x-1760) ((lambda (syntmp-tmp-1761) ((lambda (syntmp-tmp-1762) (if syntmp-tmp-1762 (apply (lambda (syntmp-_-1763 syntmp-e-1764) (error (quote unquote-splicing) "expression ,@~s not valid outside of quasiquote" (syntax-object->datum syntmp-e-1764))) syntmp-tmp-1762) (syntax-error syntmp-tmp-1761))) (syntax-dispatch syntmp-tmp-1761 (quote (any any))))) syntmp-x-1760)))
-(install-global-transformer (quote case) (lambda (syntmp-x-1770) ((lambda (syntmp-tmp-1771) ((lambda (syntmp-tmp-1772) (if syntmp-tmp-1772 (apply (lambda (syntmp-_-1773 syntmp-e-1774 syntmp-m1-1775 syntmp-m2-1776) ((lambda (syntmp-tmp-1777) ((lambda (syntmp-body-1778) (list (quote #(syntax-object let ((top) #(ribcage #(body) #((top)) #("i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (list (quote #(syntax-object t ((top) #(ribcage #(body) #((top)) #("i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-e-1774)) syntmp-body-1778)) syntmp-tmp-1777)) (let syntmp-f-1779 ((syntmp-clause-1780 syntmp-m1-1775) (syntmp-clauses-1781 syntmp-m2-1776)) (if (null? syntmp-clauses-1781) ((lambda (syntmp-tmp-1783) ((lambda (syntmp-tmp-1784) (if syntmp-tmp-1784 (apply (lambda (syntmp-e1-1785 syntmp-e2-1786) (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1785 syntmp-e2-1786))) syntmp-tmp-1784) ((lambda (syntmp-tmp-1788) (if syntmp-tmp-1788 (apply (lambda (syntmp-k-1789 syntmp-e1-1790 syntmp-e2-1791) (list (quote #(syntax-object if ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object memv ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object t ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object quote ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-k-1789)) (cons (quote #(syntax-object begin ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1790 syntmp-e2-1791)))) syntmp-tmp-1788) ((lambda (syntmp-_-1794) (syntax-error syntmp-x-1770)) syntmp-tmp-1783))) (syntax-dispatch syntmp-tmp-1783 (quote (each-any any . each-any)))))) (syntax-dispatch syntmp-tmp-1783 (quote (#(free-id #(syntax-object else ((top) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) any . each-any))))) syntmp-clause-1780) ((lambda (syntmp-tmp-1795) ((lambda (syntmp-rest-1796) ((lambda (syntmp-tmp-1797) ((lambda (syntmp-tmp-1798) (if syntmp-tmp-1798 (apply (lambda (syntmp-k-1799 syntmp-e1-1800 syntmp-e2-1801) (list (quote #(syntax-object if ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object memv ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object t ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object quote ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-k-1799)) (cons (quote #(syntax-object begin ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1800 syntmp-e2-1801)) syntmp-rest-1796)) syntmp-tmp-1798) ((lambda (syntmp-_-1804) (syntax-error syntmp-x-1770)) syntmp-tmp-1797))) (syntax-dispatch syntmp-tmp-1797 (quote (each-any any . each-any))))) syntmp-clause-1780)) syntmp-tmp-1795)) (syntmp-f-1779 (car syntmp-clauses-1781) (cdr syntmp-clauses-1781))))))) syntmp-tmp-1772) (syntax-error syntmp-tmp-1771))) (syntax-dispatch syntmp-tmp-1771 (quote (any any any . each-any))))) syntmp-x-1770)))
-(install-global-transformer (quote identifier-syntax) (lambda (syntmp-x-1834) ((lambda (syntmp-tmp-1835) ((lambda (syntmp-tmp-1836) (if syntmp-tmp-1836 (apply (lambda (syntmp-_-1837 syntmp-e-1838) (list (quote #(syntax-object lambda ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote ()) (list (quote #(syntax-object id ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object identifier? ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) (#(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object id ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))))) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-e-1838)) (list (cons syntmp-_-1837 (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object ... ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))))) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e-1838 (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object ... ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))))))))) syntmp-tmp-1836) (syntax-error syntmp-tmp-1835))) (syntax-dispatch syntmp-tmp-1835 (quote (any any))))) syntmp-x-1834)))
+(letrec ((syntmp-lambda-var-list-151 (lambda (syntmp-vars-536) (let syntmp-lvl-537 ((syntmp-vars-538 syntmp-vars-536) (syntmp-ls-539 (quote ())) (syntmp-w-540 (quote (())))) (cond ((pair? syntmp-vars-538) (syntmp-lvl-537 (cdr syntmp-vars-538) (cons (syntmp-wrap-130 (car syntmp-vars-538) syntmp-w-540) syntmp-ls-539) syntmp-w-540)) ((syntmp-id?-102 syntmp-vars-538) (cons (syntmp-wrap-130 syntmp-vars-538 syntmp-w-540) syntmp-ls-539)) ((null? syntmp-vars-538) syntmp-ls-539) ((syntmp-syntax-object?-88 syntmp-vars-538) (syntmp-lvl-537 (syntmp-syntax-object-expression-89 syntmp-vars-538) syntmp-ls-539 (syntmp-join-wraps-121 syntmp-w-540 (syntmp-syntax-object-wrap-90 syntmp-vars-538)))) ((annotation? syntmp-vars-538) (syntmp-lvl-537 (annotation-expression syntmp-vars-538) syntmp-ls-539 syntmp-w-540)) (else (cons syntmp-vars-538 syntmp-ls-539)))))) (syntmp-gen-var-150 (lambda (syntmp-id-541) (let ((syntmp-id-542 (if (syntmp-syntax-object?-88 syntmp-id-541) (syntmp-syntax-object-expression-89 syntmp-id-541) syntmp-id-541))) (if (annotation? syntmp-id-542) (syntmp-build-annotated-81 (annotation-source syntmp-id-542) (gensym (symbol->string (annotation-expression syntmp-id-542)))) (syntmp-build-annotated-81 #f (gensym (symbol->string syntmp-id-542))))))) (syntmp-strip-149 (lambda (syntmp-x-543 syntmp-w-544) (if (memq (quote top) (syntmp-wrap-marks-105 syntmp-w-544)) (if (or (annotation? syntmp-x-543) (and (pair? syntmp-x-543) (annotation? (car syntmp-x-543)))) (syntmp-strip-annotation-148 syntmp-x-543 #f) syntmp-x-543) (let syntmp-f-545 ((syntmp-x-546 syntmp-x-543)) (cond ((syntmp-syntax-object?-88 syntmp-x-546) (syntmp-strip-149 (syntmp-syntax-object-expression-89 syntmp-x-546) (syntmp-syntax-object-wrap-90 syntmp-x-546))) ((pair? syntmp-x-546) (let ((syntmp-a-547 (syntmp-f-545 (car syntmp-x-546))) (syntmp-d-548 (syntmp-f-545 (cdr syntmp-x-546)))) (if (and (eq? syntmp-a-547 (car syntmp-x-546)) (eq? syntmp-d-548 (cdr syntmp-x-546))) syntmp-x-546 (cons syntmp-a-547 syntmp-d-548)))) ((vector? syntmp-x-546) (let ((syntmp-old-549 (vector->list syntmp-x-546))) (let ((syntmp-new-550 (map syntmp-f-545 syntmp-old-549))) (if (andmap eq? syntmp-old-549 syntmp-new-550) syntmp-x-546 (list->vector syntmp-new-550))))) (else syntmp-x-546)))))) (syntmp-strip-annotation-148 (lambda (syntmp-x-551 syntmp-parent-552) (cond ((pair? syntmp-x-551) (let ((syntmp-new-553 (cons #f #f))) (begin (when syntmp-parent-552 (set-annotation-stripped! syntmp-parent-552 syntmp-new-553)) (set-car! syntmp-new-553 (syntmp-strip-annotation-148 (car syntmp-x-551) #f)) (set-cdr! syntmp-new-553 (syntmp-strip-annotation-148 (cdr syntmp-x-551) #f)) syntmp-new-553))) ((annotation? syntmp-x-551) (or (annotation-stripped syntmp-x-551) (syntmp-strip-annotation-148 (annotation-expression syntmp-x-551) syntmp-x-551))) ((vector? syntmp-x-551) (let ((syntmp-new-554 (make-vector (vector-length syntmp-x-551)))) (begin (when syntmp-parent-552 (set-annotation-stripped! syntmp-parent-552 syntmp-new-554)) (let syntmp-loop-555 ((syntmp-i-556 (- (vector-length syntmp-x-551) 1))) (unless (syntmp-fx<-75 syntmp-i-556 0) (vector-set! syntmp-new-554 syntmp-i-556 (syntmp-strip-annotation-148 (vector-ref syntmp-x-551 syntmp-i-556) #f)) (syntmp-loop-555 (syntmp-fx--73 syntmp-i-556 1)))) syntmp-new-554))) (else syntmp-x-551)))) (syntmp-ellipsis?-147 (lambda (syntmp-x-557) (and (syntmp-nonsymbol-id?-101 syntmp-x-557) (syntmp-free-id=?-125 syntmp-x-557 (quote #(syntax-object ... ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))))))) (syntmp-chi-void-146 (lambda () (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote void)))))) (syntmp-eval-local-transformer-145 (lambda (syntmp-expanded-558) (let ((syntmp-p-559 (syntmp-local-eval-hook-77 syntmp-expanded-558))) (if (procedure? syntmp-p-559) syntmp-p-559 (syntax-error syntmp-p-559 "nonprocedure transformer"))))) (syntmp-chi-local-syntax-144 (lambda (syntmp-rec?-560 syntmp-e-561 syntmp-r-562 syntmp-w-563 syntmp-s-564 syntmp-k-565) ((lambda (syntmp-tmp-566) ((lambda (syntmp-tmp-567) (if syntmp-tmp-567 (apply (lambda (syntmp-_-568 syntmp-id-569 syntmp-val-570 syntmp-e1-571 syntmp-e2-572) (let ((syntmp-ids-573 syntmp-id-569)) (if (not (syntmp-valid-bound-ids?-127 syntmp-ids-573)) (syntax-error syntmp-e-561 "duplicate bound keyword in") (let ((syntmp-labels-575 (syntmp-gen-labels-108 syntmp-ids-573))) (let ((syntmp-new-w-576 (syntmp-make-binding-wrap-119 syntmp-ids-573 syntmp-labels-575 syntmp-w-563))) (syntmp-k-565 (cons syntmp-e1-571 syntmp-e2-572) (syntmp-extend-env-96 syntmp-labels-575 (let ((syntmp-w-578 (if syntmp-rec?-560 syntmp-new-w-576 syntmp-w-563)) (syntmp-trans-r-579 (syntmp-macros-only-env-98 syntmp-r-562))) (map (lambda (syntmp-x-580) (cons (quote macro) (syntmp-eval-local-transformer-145 (syntmp-chi-138 syntmp-x-580 syntmp-trans-r-579 syntmp-w-578)))) syntmp-val-570)) syntmp-r-562) syntmp-new-w-576 syntmp-s-564)))))) syntmp-tmp-567) ((lambda (syntmp-_-582) (syntax-error (syntmp-source-wrap-131 syntmp-e-561 syntmp-w-563 syntmp-s-564))) syntmp-tmp-566))) (syntax-dispatch syntmp-tmp-566 (quote (any #(each (any any)) any . each-any))))) syntmp-e-561))) (syntmp-chi-lambda-clause-143 (lambda (syntmp-e-583 syntmp-c-584 syntmp-r-585 syntmp-w-586 syntmp-k-587) ((lambda (syntmp-tmp-588) ((lambda (syntmp-tmp-589) (if syntmp-tmp-589 (apply (lambda (syntmp-id-590 syntmp-e1-591 syntmp-e2-592) (let ((syntmp-ids-593 syntmp-id-590)) (if (not (syntmp-valid-bound-ids?-127 syntmp-ids-593)) (syntax-error syntmp-e-583 "invalid parameter list in") (let ((syntmp-labels-595 (syntmp-gen-labels-108 syntmp-ids-593)) (syntmp-new-vars-596 (map syntmp-gen-var-150 syntmp-ids-593))) (syntmp-k-587 syntmp-new-vars-596 (syntmp-chi-body-142 (cons syntmp-e1-591 syntmp-e2-592) syntmp-e-583 (syntmp-extend-var-env-97 syntmp-labels-595 syntmp-new-vars-596 syntmp-r-585) (syntmp-make-binding-wrap-119 syntmp-ids-593 syntmp-labels-595 syntmp-w-586))))))) syntmp-tmp-589) ((lambda (syntmp-tmp-598) (if syntmp-tmp-598 (apply (lambda (syntmp-ids-599 syntmp-e1-600 syntmp-e2-601) (let ((syntmp-old-ids-602 (syntmp-lambda-var-list-151 syntmp-ids-599))) (if (not (syntmp-valid-bound-ids?-127 syntmp-old-ids-602)) (syntax-error syntmp-e-583 "invalid parameter list in") (let ((syntmp-labels-603 (syntmp-gen-labels-108 syntmp-old-ids-602)) (syntmp-new-vars-604 (map syntmp-gen-var-150 syntmp-old-ids-602))) (syntmp-k-587 (let syntmp-f-605 ((syntmp-ls1-606 (cdr syntmp-new-vars-604)) (syntmp-ls2-607 (car syntmp-new-vars-604))) (if (null? syntmp-ls1-606) syntmp-ls2-607 (syntmp-f-605 (cdr syntmp-ls1-606) (cons (car syntmp-ls1-606) syntmp-ls2-607)))) (syntmp-chi-body-142 (cons syntmp-e1-600 syntmp-e2-601) syntmp-e-583 (syntmp-extend-var-env-97 syntmp-labels-603 syntmp-new-vars-604 syntmp-r-585) (syntmp-make-binding-wrap-119 syntmp-old-ids-602 syntmp-labels-603 syntmp-w-586))))))) syntmp-tmp-598) ((lambda (syntmp-_-609) (syntax-error syntmp-e-583)) syntmp-tmp-588))) (syntax-dispatch syntmp-tmp-588 (quote (any any . each-any)))))) (syntax-dispatch syntmp-tmp-588 (quote (each-any any . each-any))))) syntmp-c-584))) (syntmp-chi-body-142 (lambda (syntmp-body-610 syntmp-outer-form-611 syntmp-r-612 syntmp-w-613) (let ((syntmp-r-614 (cons (quote ("placeholder" placeholder)) syntmp-r-612))) (let ((syntmp-ribcage-615 (syntmp-make-ribcage-109 (quote ()) (quote ()) (quote ())))) (let ((syntmp-w-616 (syntmp-make-wrap-104 (syntmp-wrap-marks-105 syntmp-w-613) (cons syntmp-ribcage-615 (syntmp-wrap-subst-106 syntmp-w-613))))) (let syntmp-parse-617 ((syntmp-body-618 (map (lambda (syntmp-x-624) (cons syntmp-r-614 (syntmp-wrap-130 syntmp-x-624 syntmp-w-616))) syntmp-body-610)) (syntmp-ids-619 (quote ())) (syntmp-labels-620 (quote ())) (syntmp-vars-621 (quote ())) (syntmp-vals-622 (quote ())) (syntmp-bindings-623 (quote ()))) (if (null? syntmp-body-618) (syntax-error syntmp-outer-form-611 "no expressions in body") (let ((syntmp-e-625 (cdar syntmp-body-618)) (syntmp-er-626 (caar syntmp-body-618))) (call-with-values (lambda () (syntmp-syntax-type-136 syntmp-e-625 syntmp-er-626 (quote (())) #f syntmp-ribcage-615)) (lambda (syntmp-type-627 syntmp-value-628 syntmp-e-629 syntmp-w-630 syntmp-s-631) (let ((syntmp-t-632 syntmp-type-627)) (if (memv syntmp-t-632 (quote (define-form))) (let ((syntmp-id-633 (syntmp-wrap-130 syntmp-value-628 syntmp-w-630)) (syntmp-label-634 (syntmp-gen-label-107))) (let ((syntmp-var-635 (syntmp-gen-var-150 syntmp-id-633))) (begin (syntmp-extend-ribcage!-118 syntmp-ribcage-615 syntmp-id-633 syntmp-label-634) (syntmp-parse-617 (cdr syntmp-body-618) (cons syntmp-id-633 syntmp-ids-619) (cons syntmp-label-634 syntmp-labels-620) (cons syntmp-var-635 syntmp-vars-621) (cons (cons syntmp-er-626 (syntmp-wrap-130 syntmp-e-629 syntmp-w-630)) syntmp-vals-622) (cons (cons (quote lexical) syntmp-var-635) syntmp-bindings-623))))) (if (memv syntmp-t-632 (quote (define-syntax-form))) (let ((syntmp-id-636 (syntmp-wrap-130 syntmp-value-628 syntmp-w-630)) (syntmp-label-637 (syntmp-gen-label-107))) (begin (syntmp-extend-ribcage!-118 syntmp-ribcage-615 syntmp-id-636 syntmp-label-637) (syntmp-parse-617 (cdr syntmp-body-618) (cons syntmp-id-636 syntmp-ids-619) (cons syntmp-label-637 syntmp-labels-620) syntmp-vars-621 syntmp-vals-622 (cons (cons (quote macro) (cons syntmp-er-626 (syntmp-wrap-130 syntmp-e-629 syntmp-w-630))) syntmp-bindings-623)))) (if (memv syntmp-t-632 (quote (begin-form))) ((lambda (syntmp-tmp-638) ((lambda (syntmp-tmp-639) (if syntmp-tmp-639 (apply (lambda (syntmp-_-640 syntmp-e1-641) (syntmp-parse-617 (let syntmp-f-642 ((syntmp-forms-643 syntmp-e1-641)) (if (null? syntmp-forms-643) (cdr syntmp-body-618) (cons (cons syntmp-er-626 (syntmp-wrap-130 (car syntmp-forms-643) syntmp-w-630)) (syntmp-f-642 (cdr syntmp-forms-643))))) syntmp-ids-619 syntmp-labels-620 syntmp-vars-621 syntmp-vals-622 syntmp-bindings-623)) syntmp-tmp-639) (syntax-error syntmp-tmp-638))) (syntax-dispatch syntmp-tmp-638 (quote (any . each-any))))) syntmp-e-629) (if (memv syntmp-t-632 (quote (local-syntax-form))) (syntmp-chi-local-syntax-144 syntmp-value-628 syntmp-e-629 syntmp-er-626 syntmp-w-630 syntmp-s-631 (lambda (syntmp-forms-645 syntmp-er-646 syntmp-w-647 syntmp-s-648) (syntmp-parse-617 (let syntmp-f-649 ((syntmp-forms-650 syntmp-forms-645)) (if (null? syntmp-forms-650) (cdr syntmp-body-618) (cons (cons syntmp-er-646 (syntmp-wrap-130 (car syntmp-forms-650) syntmp-w-647)) (syntmp-f-649 (cdr syntmp-forms-650))))) syntmp-ids-619 syntmp-labels-620 syntmp-vars-621 syntmp-vals-622 syntmp-bindings-623))) (if (null? syntmp-ids-619) (syntmp-build-sequence-83 #f (map (lambda (syntmp-x-651) (syntmp-chi-138 (cdr syntmp-x-651) (car syntmp-x-651) (quote (())))) (cons (cons syntmp-er-626 (syntmp-source-wrap-131 syntmp-e-629 syntmp-w-630 syntmp-s-631)) (cdr syntmp-body-618)))) (begin (if (not (syntmp-valid-bound-ids?-127 syntmp-ids-619)) (syntax-error syntmp-outer-form-611 "invalid or duplicate identifier in definition")) (let syntmp-loop-652 ((syntmp-bs-653 syntmp-bindings-623) (syntmp-er-cache-654 #f) (syntmp-r-cache-655 #f)) (if (not (null? syntmp-bs-653)) (let ((syntmp-b-656 (car syntmp-bs-653))) (if (eq? (car syntmp-b-656) (quote macro)) (let ((syntmp-er-657 (cadr syntmp-b-656))) (let ((syntmp-r-cache-658 (if (eq? syntmp-er-657 syntmp-er-cache-654) syntmp-r-cache-655 (syntmp-macros-only-env-98 syntmp-er-657)))) (begin (set-cdr! syntmp-b-656 (syntmp-eval-local-transformer-145 (syntmp-chi-138 (cddr syntmp-b-656) syntmp-r-cache-658 (quote (()))))) (syntmp-loop-652 (cdr syntmp-bs-653) syntmp-er-657 syntmp-r-cache-658)))) (syntmp-loop-652 (cdr syntmp-bs-653) syntmp-er-cache-654 syntmp-r-cache-655))))) (set-cdr! syntmp-r-614 (syntmp-extend-env-96 syntmp-labels-620 syntmp-bindings-623 (cdr syntmp-r-614))) (syntmp-build-letrec-86 #f syntmp-vars-621 (map (lambda (syntmp-x-659) (syntmp-chi-138 (cdr syntmp-x-659) (car syntmp-x-659) (quote (())))) syntmp-vals-622) (syntmp-build-sequence-83 #f (map (lambda (syntmp-x-660) (syntmp-chi-138 (cdr syntmp-x-660) (car syntmp-x-660) (quote (())))) (cons (cons syntmp-er-626 (syntmp-source-wrap-131 syntmp-e-629 syntmp-w-630 syntmp-s-631)) (cdr syntmp-body-618)))))))))))))))))))))) (syntmp-chi-macro-141 (lambda (syntmp-p-661 syntmp-e-662 syntmp-r-663 syntmp-w-664 syntmp-rib-665) (letrec ((syntmp-rebuild-macro-output-666 (lambda (syntmp-x-667 syntmp-m-668) (cond ((pair? syntmp-x-667) (cons (syntmp-rebuild-macro-output-666 (car syntmp-x-667) syntmp-m-668) (syntmp-rebuild-macro-output-666 (cdr syntmp-x-667) syntmp-m-668))) ((syntmp-syntax-object?-88 syntmp-x-667) (let ((syntmp-w-669 (syntmp-syntax-object-wrap-90 syntmp-x-667))) (let ((syntmp-ms-670 (syntmp-wrap-marks-105 syntmp-w-669)) (syntmp-s-671 (syntmp-wrap-subst-106 syntmp-w-669))) (syntmp-make-syntax-object-87 (syntmp-syntax-object-expression-89 syntmp-x-667) (if (and (pair? syntmp-ms-670) (eq? (car syntmp-ms-670) #f)) (syntmp-make-wrap-104 (cdr syntmp-ms-670) (if syntmp-rib-665 (cons syntmp-rib-665 (cdr syntmp-s-671)) (cdr syntmp-s-671))) (syntmp-make-wrap-104 (cons syntmp-m-668 syntmp-ms-670) (if syntmp-rib-665 (cons syntmp-rib-665 (cons (quote shift) syntmp-s-671)) (cons (quote shift) syntmp-s-671)))))))) ((vector? syntmp-x-667) (let ((syntmp-n-672 (vector-length syntmp-x-667))) (let ((syntmp-v-673 (make-vector syntmp-n-672))) (let syntmp-doloop-674 ((syntmp-i-675 0)) (if (syntmp-fx=-74 syntmp-i-675 syntmp-n-672) syntmp-v-673 (begin (vector-set! syntmp-v-673 syntmp-i-675 (syntmp-rebuild-macro-output-666 (vector-ref syntmp-x-667 syntmp-i-675) syntmp-m-668)) (syntmp-doloop-674 (syntmp-fx+-72 syntmp-i-675 1)))))))) ((symbol? syntmp-x-667) (syntax-error syntmp-x-667 "encountered raw symbol in macro output")) (else syntmp-x-667))))) (syntmp-rebuild-macro-output-666 (syntmp-p-661 (syntmp-wrap-130 syntmp-e-662 (syntmp-anti-mark-117 syntmp-w-664))) (string #\m))))) (syntmp-chi-application-140 (lambda (syntmp-x-676 syntmp-e-677 syntmp-r-678 syntmp-w-679 syntmp-s-680) ((lambda (syntmp-tmp-681) ((lambda (syntmp-tmp-682) (if syntmp-tmp-682 (apply (lambda (syntmp-e0-683 syntmp-e1-684) (syntmp-build-annotated-81 syntmp-s-680 (cons syntmp-x-676 (map (lambda (syntmp-e-685) (syntmp-chi-138 syntmp-e-685 syntmp-r-678 syntmp-w-679)) syntmp-e1-684)))) syntmp-tmp-682) (syntax-error syntmp-tmp-681))) (syntax-dispatch syntmp-tmp-681 (quote (any . each-any))))) syntmp-e-677))) (syntmp-chi-expr-139 (lambda (syntmp-type-687 syntmp-value-688 syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) (let ((syntmp-t-693 syntmp-type-687)) (if (memv syntmp-t-693 (quote (lexical))) (syntmp-build-annotated-81 syntmp-s-692 syntmp-value-688) (if (memv syntmp-t-693 (quote (core external-macro))) (syntmp-value-688 syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) (if (memv syntmp-t-693 (quote (lexical-call))) (syntmp-chi-application-140 (syntmp-build-annotated-81 (syntmp-source-annotation-93 (car syntmp-e-689)) syntmp-value-688) syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) (if (memv syntmp-t-693 (quote (global-call))) (syntmp-chi-application-140 (syntmp-build-annotated-81 (syntmp-source-annotation-93 (car syntmp-e-689)) syntmp-value-688) syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) (if (memv syntmp-t-693 (quote (constant))) (syntmp-build-data-82 syntmp-s-692 (syntmp-strip-149 (syntmp-source-wrap-131 syntmp-e-689 syntmp-w-691 syntmp-s-692) (quote (())))) (if (memv syntmp-t-693 (quote (global))) (syntmp-build-annotated-81 syntmp-s-692 syntmp-value-688) (if (memv syntmp-t-693 (quote (call))) (syntmp-chi-application-140 (syntmp-chi-138 (car syntmp-e-689) syntmp-r-690 syntmp-w-691) syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692) (if (memv syntmp-t-693 (quote (begin-form))) ((lambda (syntmp-tmp-694) ((lambda (syntmp-tmp-695) (if syntmp-tmp-695 (apply (lambda (syntmp-_-696 syntmp-e1-697 syntmp-e2-698) (syntmp-chi-sequence-132 (cons syntmp-e1-697 syntmp-e2-698) syntmp-r-690 syntmp-w-691 syntmp-s-692)) syntmp-tmp-695) (syntax-error syntmp-tmp-694))) (syntax-dispatch syntmp-tmp-694 (quote (any any . each-any))))) syntmp-e-689) (if (memv syntmp-t-693 (quote (local-syntax-form))) (syntmp-chi-local-syntax-144 syntmp-value-688 syntmp-e-689 syntmp-r-690 syntmp-w-691 syntmp-s-692 syntmp-chi-sequence-132) (if (memv syntmp-t-693 (quote (eval-when-form))) ((lambda (syntmp-tmp-700) ((lambda (syntmp-tmp-701) (if syntmp-tmp-701 (apply (lambda (syntmp-_-702 syntmp-x-703 syntmp-e1-704 syntmp-e2-705) (let ((syntmp-when-list-706 (syntmp-chi-when-list-135 syntmp-e-689 syntmp-x-703 syntmp-w-691))) (if (memq (quote eval) syntmp-when-list-706) (syntmp-chi-sequence-132 (cons syntmp-e1-704 syntmp-e2-705) syntmp-r-690 syntmp-w-691 syntmp-s-692) (syntmp-chi-void-146)))) syntmp-tmp-701) (syntax-error syntmp-tmp-700))) (syntax-dispatch syntmp-tmp-700 (quote (any each-any any . each-any))))) syntmp-e-689) (if (memv syntmp-t-693 (quote (define-form define-syntax-form))) (syntax-error (syntmp-wrap-130 syntmp-value-688 syntmp-w-691) "invalid context for definition of") (if (memv syntmp-t-693 (quote (syntax))) (syntax-error (syntmp-source-wrap-131 syntmp-e-689 syntmp-w-691 syntmp-s-692) "reference to pattern variable outside syntax form") (if (memv syntmp-t-693 (quote (displaced-lexical))) (syntax-error (syntmp-source-wrap-131 syntmp-e-689 syntmp-w-691 syntmp-s-692) "reference to identifier outside its scope") (syntax-error (syntmp-source-wrap-131 syntmp-e-689 syntmp-w-691 syntmp-s-692)))))))))))))))))) (syntmp-chi-138 (lambda (syntmp-e-709 syntmp-r-710 syntmp-w-711) (call-with-values (lambda () (syntmp-syntax-type-136 syntmp-e-709 syntmp-r-710 syntmp-w-711 #f #f)) (lambda (syntmp-type-712 syntmp-value-713 syntmp-e-714 syntmp-w-715 syntmp-s-716) (syntmp-chi-expr-139 syntmp-type-712 syntmp-value-713 syntmp-e-714 syntmp-r-710 syntmp-w-715 syntmp-s-716))))) (syntmp-chi-top-137 (lambda (syntmp-e-717 syntmp-r-718 syntmp-w-719 syntmp-m-720 syntmp-esew-721) (call-with-values (lambda () (syntmp-syntax-type-136 syntmp-e-717 syntmp-r-718 syntmp-w-719 #f #f)) (lambda (syntmp-type-734 syntmp-value-735 syntmp-e-736 syntmp-w-737 syntmp-s-738) (let ((syntmp-t-739 syntmp-type-734)) (if (memv syntmp-t-739 (quote (begin-form))) ((lambda (syntmp-tmp-740) ((lambda (syntmp-tmp-741) (if syntmp-tmp-741 (apply (lambda (syntmp-_-742) (syntmp-chi-void-146)) syntmp-tmp-741) ((lambda (syntmp-tmp-743) (if syntmp-tmp-743 (apply (lambda (syntmp-_-744 syntmp-e1-745 syntmp-e2-746) (syntmp-chi-top-sequence-133 (cons syntmp-e1-745 syntmp-e2-746) syntmp-r-718 syntmp-w-737 syntmp-s-738 syntmp-m-720 syntmp-esew-721)) syntmp-tmp-743) (syntax-error syntmp-tmp-740))) (syntax-dispatch syntmp-tmp-740 (quote (any any . each-any)))))) (syntax-dispatch syntmp-tmp-740 (quote (any))))) syntmp-e-736) (if (memv syntmp-t-739 (quote (local-syntax-form))) (syntmp-chi-local-syntax-144 syntmp-value-735 syntmp-e-736 syntmp-r-718 syntmp-w-737 syntmp-s-738 (lambda (syntmp-body-748 syntmp-r-749 syntmp-w-750 syntmp-s-751) (syntmp-chi-top-sequence-133 syntmp-body-748 syntmp-r-749 syntmp-w-750 syntmp-s-751 syntmp-m-720 syntmp-esew-721))) (if (memv syntmp-t-739 (quote (eval-when-form))) ((lambda (syntmp-tmp-752) ((lambda (syntmp-tmp-753) (if syntmp-tmp-753 (apply (lambda (syntmp-_-754 syntmp-x-755 syntmp-e1-756 syntmp-e2-757) (let ((syntmp-when-list-758 (syntmp-chi-when-list-135 syntmp-e-736 syntmp-x-755 syntmp-w-737)) (syntmp-body-759 (cons syntmp-e1-756 syntmp-e2-757))) (cond ((eq? syntmp-m-720 (quote e)) (if (memq (quote eval) syntmp-when-list-758) (syntmp-chi-top-sequence-133 syntmp-body-759 syntmp-r-718 syntmp-w-737 syntmp-s-738 (quote e) (quote (eval))) (syntmp-chi-void-146))) ((memq (quote load) syntmp-when-list-758) (if (or (memq (quote compile) syntmp-when-list-758) (and (eq? syntmp-m-720 (quote c&e)) (memq (quote eval) syntmp-when-list-758))) (syntmp-chi-top-sequence-133 syntmp-body-759 syntmp-r-718 syntmp-w-737 syntmp-s-738 (quote c&e) (quote (compile load))) (if (memq syntmp-m-720 (quote (c c&e))) (syntmp-chi-top-sequence-133 syntmp-body-759 syntmp-r-718 syntmp-w-737 syntmp-s-738 (quote c) (quote (load))) (syntmp-chi-void-146)))) ((or (memq (quote compile) syntmp-when-list-758) (and (eq? syntmp-m-720 (quote c&e)) (memq (quote eval) syntmp-when-list-758))) (syntmp-top-level-eval-hook-76 (syntmp-chi-top-sequence-133 syntmp-body-759 syntmp-r-718 syntmp-w-737 syntmp-s-738 (quote e) (quote (eval)))) (syntmp-chi-void-146)) (else (syntmp-chi-void-146))))) syntmp-tmp-753) (syntax-error syntmp-tmp-752))) (syntax-dispatch syntmp-tmp-752 (quote (any each-any any . each-any))))) syntmp-e-736) (if (memv syntmp-t-739 (quote (define-syntax-form))) (let ((syntmp-n-762 (syntmp-id-var-name-124 syntmp-value-735 syntmp-w-737)) (syntmp-r-763 (syntmp-macros-only-env-98 syntmp-r-718))) (let ((syntmp-t-764 syntmp-m-720)) (if (memv syntmp-t-764 (quote (c))) (if (memq (quote compile) syntmp-esew-721) (let ((syntmp-e-765 (syntmp-chi-install-global-134 syntmp-n-762 (syntmp-chi-138 syntmp-e-736 syntmp-r-763 syntmp-w-737)))) (begin (syntmp-top-level-eval-hook-76 syntmp-e-765) (if (memq (quote load) syntmp-esew-721) syntmp-e-765 (syntmp-chi-void-146)))) (if (memq (quote load) syntmp-esew-721) (syntmp-chi-install-global-134 syntmp-n-762 (syntmp-chi-138 syntmp-e-736 syntmp-r-763 syntmp-w-737)) (syntmp-chi-void-146))) (if (memv syntmp-t-764 (quote (c&e))) (let ((syntmp-e-766 (syntmp-chi-install-global-134 syntmp-n-762 (syntmp-chi-138 syntmp-e-736 syntmp-r-763 syntmp-w-737)))) (begin (syntmp-top-level-eval-hook-76 syntmp-e-766) syntmp-e-766)) (begin (if (memq (quote eval) syntmp-esew-721) (syntmp-top-level-eval-hook-76 (syntmp-chi-install-global-134 syntmp-n-762 (syntmp-chi-138 syntmp-e-736 syntmp-r-763 syntmp-w-737)))) (syntmp-chi-void-146)))))) (if (memv syntmp-t-739 (quote (define-form))) (let ((syntmp-n-767 (syntmp-id-var-name-124 syntmp-value-735 syntmp-w-737))) (let ((syntmp-type-768 (syntmp-binding-type-94 (syntmp-lookup-99 syntmp-n-767 syntmp-r-718)))) (let ((syntmp-t-769 syntmp-type-768)) (if (memv syntmp-t-769 (quote (global))) (let ((syntmp-x-770 (syntmp-build-annotated-81 syntmp-s-738 (list (quote define) syntmp-n-767 (syntmp-chi-138 syntmp-e-736 syntmp-r-718 syntmp-w-737))))) (begin (if (eq? syntmp-m-720 (quote c&e)) (syntmp-top-level-eval-hook-76 syntmp-x-770)) syntmp-x-770)) (if (memv syntmp-t-769 (quote (displaced-lexical))) (syntax-error (syntmp-wrap-130 syntmp-value-735 syntmp-w-737) "identifier out of context") (if (eq? syntmp-type-768 (quote external-macro)) (let ((syntmp-x-771 (syntmp-build-annotated-81 syntmp-s-738 (list (quote define) syntmp-n-767 (syntmp-chi-138 syntmp-e-736 syntmp-r-718 syntmp-w-737))))) (begin (if (eq? syntmp-m-720 (quote c&e)) (syntmp-top-level-eval-hook-76 syntmp-x-771)) syntmp-x-771)) (syntax-error (syntmp-wrap-130 syntmp-value-735 syntmp-w-737) "cannot define keyword at top level"))))))) (let ((syntmp-x-772 (syntmp-chi-expr-139 syntmp-type-734 syntmp-value-735 syntmp-e-736 syntmp-r-718 syntmp-w-737 syntmp-s-738))) (begin (if (eq? syntmp-m-720 (quote c&e)) (syntmp-top-level-eval-hook-76 syntmp-x-772)) syntmp-x-772)))))))))))) (syntmp-syntax-type-136 (lambda (syntmp-e-773 syntmp-r-774 syntmp-w-775 syntmp-s-776 syntmp-rib-777) (cond ((symbol? syntmp-e-773) (let ((syntmp-n-778 (syntmp-id-var-name-124 syntmp-e-773 syntmp-w-775))) (let ((syntmp-b-779 (syntmp-lookup-99 syntmp-n-778 syntmp-r-774))) (let ((syntmp-type-780 (syntmp-binding-type-94 syntmp-b-779))) (let ((syntmp-t-781 syntmp-type-780)) (if (memv syntmp-t-781 (quote (lexical))) (values syntmp-type-780 (syntmp-binding-value-95 syntmp-b-779) syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-781 (quote (global))) (values syntmp-type-780 syntmp-n-778 syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-781 (quote (macro))) (syntmp-syntax-type-136 (syntmp-chi-macro-141 (syntmp-binding-value-95 syntmp-b-779) syntmp-e-773 syntmp-r-774 syntmp-w-775 syntmp-rib-777) syntmp-r-774 (quote (())) syntmp-s-776 syntmp-rib-777) (values syntmp-type-780 (syntmp-binding-value-95 syntmp-b-779) syntmp-e-773 syntmp-w-775 syntmp-s-776))))))))) ((pair? syntmp-e-773) (let ((syntmp-first-782 (car syntmp-e-773))) (if (syntmp-id?-102 syntmp-first-782) (let ((syntmp-n-783 (syntmp-id-var-name-124 syntmp-first-782 syntmp-w-775))) (let ((syntmp-b-784 (syntmp-lookup-99 syntmp-n-783 syntmp-r-774))) (let ((syntmp-type-785 (syntmp-binding-type-94 syntmp-b-784))) (let ((syntmp-t-786 syntmp-type-785)) (if (memv syntmp-t-786 (quote (lexical))) (values (quote lexical-call) (syntmp-binding-value-95 syntmp-b-784) syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (global))) (values (quote global-call) syntmp-n-783 syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (macro))) (syntmp-syntax-type-136 (syntmp-chi-macro-141 (syntmp-binding-value-95 syntmp-b-784) syntmp-e-773 syntmp-r-774 syntmp-w-775 syntmp-rib-777) syntmp-r-774 (quote (())) syntmp-s-776 syntmp-rib-777) (if (memv syntmp-t-786 (quote (core external-macro))) (values syntmp-type-785 (syntmp-binding-value-95 syntmp-b-784) syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (local-syntax))) (values (quote local-syntax-form) (syntmp-binding-value-95 syntmp-b-784) syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (begin))) (values (quote begin-form) #f syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (eval-when))) (values (quote eval-when-form) #f syntmp-e-773 syntmp-w-775 syntmp-s-776) (if (memv syntmp-t-786 (quote (define))) ((lambda (syntmp-tmp-787) ((lambda (syntmp-tmp-788) (if (if syntmp-tmp-788 (apply (lambda (syntmp-_-789 syntmp-name-790 syntmp-val-791) (syntmp-id?-102 syntmp-name-790)) syntmp-tmp-788) #f) (apply (lambda (syntmp-_-792 syntmp-name-793 syntmp-val-794) (values (quote define-form) syntmp-name-793 syntmp-val-794 syntmp-w-775 syntmp-s-776)) syntmp-tmp-788) ((lambda (syntmp-tmp-795) (if (if syntmp-tmp-795 (apply (lambda (syntmp-_-796 syntmp-name-797 syntmp-args-798 syntmp-e1-799 syntmp-e2-800) (and (syntmp-id?-102 syntmp-name-797) (syntmp-valid-bound-ids?-127 (syntmp-lambda-var-list-151 syntmp-args-798)))) syntmp-tmp-795) #f) (apply (lambda (syntmp-_-801 syntmp-name-802 syntmp-args-803 syntmp-e1-804 syntmp-e2-805) (values (quote define-form) (syntmp-wrap-130 syntmp-name-802 syntmp-w-775) (cons (quote #(syntax-object lambda ((top) #(ribcage #(_ name args e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(t) #(("m" top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(type) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(b) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(n) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(first) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(e r w s rib) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) (syntmp-wrap-130 (cons syntmp-args-803 (cons syntmp-e1-804 syntmp-e2-805)) syntmp-w-775)) (quote (())) syntmp-s-776)) syntmp-tmp-795) ((lambda (syntmp-tmp-807) (if (if syntmp-tmp-807 (apply (lambda (syntmp-_-808 syntmp-name-809) (syntmp-id?-102 syntmp-name-809)) syntmp-tmp-807) #f) (apply (lambda (syntmp-_-810 syntmp-name-811) (values (quote define-form) (syntmp-wrap-130 syntmp-name-811 syntmp-w-775) (quote (#(syntax-object void ((top) #(ribcage #(_ name) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(t) #(("m" top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(type) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(b) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(n) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(first) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(e r w s rib) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote (())) syntmp-s-776)) syntmp-tmp-807) (syntax-error syntmp-tmp-787))) (syntax-dispatch syntmp-tmp-787 (quote (any any)))))) (syntax-dispatch syntmp-tmp-787 (quote (any (any . any) any . each-any)))))) (syntax-dispatch syntmp-tmp-787 (quote (any any any))))) syntmp-e-773) (if (memv syntmp-t-786 (quote (define-syntax))) ((lambda (syntmp-tmp-812) ((lambda (syntmp-tmp-813) (if (if syntmp-tmp-813 (apply (lambda (syntmp-_-814 syntmp-name-815 syntmp-val-816) (syntmp-id?-102 syntmp-name-815)) syntmp-tmp-813) #f) (apply (lambda (syntmp-_-817 syntmp-name-818 syntmp-val-819) (values (quote define-syntax-form) syntmp-name-818 syntmp-val-819 syntmp-w-775 syntmp-s-776)) syntmp-tmp-813) (syntax-error syntmp-tmp-812))) (syntax-dispatch syntmp-tmp-812 (quote (any any any))))) syntmp-e-773) (values (quote call) #f syntmp-e-773 syntmp-w-775 syntmp-s-776)))))))))))))) (values (quote call) #f syntmp-e-773 syntmp-w-775 syntmp-s-776)))) ((syntmp-syntax-object?-88 syntmp-e-773) (syntmp-syntax-type-136 (syntmp-syntax-object-expression-89 syntmp-e-773) syntmp-r-774 (syntmp-join-wraps-121 syntmp-w-775 (syntmp-syntax-object-wrap-90 syntmp-e-773)) #f syntmp-rib-777)) ((annotation? syntmp-e-773) (syntmp-syntax-type-136 (annotation-expression syntmp-e-773) syntmp-r-774 syntmp-w-775 (annotation-source syntmp-e-773) syntmp-rib-777)) ((self-evaluating? syntmp-e-773) (values (quote constant) #f syntmp-e-773 syntmp-w-775 syntmp-s-776)) (else (values (quote other) #f syntmp-e-773 syntmp-w-775 syntmp-s-776))))) (syntmp-chi-when-list-135 (lambda (syntmp-e-820 syntmp-when-list-821 syntmp-w-822) (let syntmp-f-823 ((syntmp-when-list-824 syntmp-when-list-821) (syntmp-situations-825 (quote ()))) (if (null? syntmp-when-list-824) syntmp-situations-825 (syntmp-f-823 (cdr syntmp-when-list-824) (cons (let ((syntmp-x-826 (car syntmp-when-list-824))) (cond ((syntmp-free-id=?-125 syntmp-x-826 (quote #(syntax-object compile ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote compile)) ((syntmp-free-id=?-125 syntmp-x-826 (quote #(syntax-object load ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote load)) ((syntmp-free-id=?-125 syntmp-x-826 (quote #(syntax-object eval ((top) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f when-list situations) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(e when-list w) #((top) (top) (top)) #("i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i")))))) (quote eval)) (else (syntax-error (syntmp-wrap-130 syntmp-x-826 syntmp-w-822) "invalid eval-when situation")))) syntmp-situations-825)))))) (syntmp-chi-install-global-134 (lambda (syntmp-name-827 syntmp-e-828) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote install-global-transformer)) (syntmp-build-data-82 #f syntmp-name-827) syntmp-e-828)))) (syntmp-chi-top-sequence-133 (lambda (syntmp-body-829 syntmp-r-830 syntmp-w-831 syntmp-s-832 syntmp-m-833 syntmp-esew-834) (syntmp-build-sequence-83 syntmp-s-832 (let syntmp-dobody-835 ((syntmp-body-836 syntmp-body-829) (syntmp-r-837 syntmp-r-830) (syntmp-w-838 syntmp-w-831) (syntmp-m-839 syntmp-m-833) (syntmp-esew-840 syntmp-esew-834)) (if (null? syntmp-body-836) (quote ()) (let ((syntmp-first-841 (syntmp-chi-top-137 (car syntmp-body-836) syntmp-r-837 syntmp-w-838 syntmp-m-839 syntmp-esew-840))) (cons syntmp-first-841 (syntmp-dobody-835 (cdr syntmp-body-836) syntmp-r-837 syntmp-w-838 syntmp-m-839 syntmp-esew-840)))))))) (syntmp-chi-sequence-132 (lambda (syntmp-body-842 syntmp-r-843 syntmp-w-844 syntmp-s-845) (syntmp-build-sequence-83 syntmp-s-845 (let syntmp-dobody-846 ((syntmp-body-847 syntmp-body-842) (syntmp-r-848 syntmp-r-843) (syntmp-w-849 syntmp-w-844)) (if (null? syntmp-body-847) (quote ()) (let ((syntmp-first-850 (syntmp-chi-138 (car syntmp-body-847) syntmp-r-848 syntmp-w-849))) (cons syntmp-first-850 (syntmp-dobody-846 (cdr syntmp-body-847) syntmp-r-848 syntmp-w-849)))))))) (syntmp-source-wrap-131 (lambda (syntmp-x-851 syntmp-w-852 syntmp-s-853) (syntmp-wrap-130 (if syntmp-s-853 (make-annotation syntmp-x-851 syntmp-s-853 #f) syntmp-x-851) syntmp-w-852))) (syntmp-wrap-130 (lambda (syntmp-x-854 syntmp-w-855) (cond ((and (null? (syntmp-wrap-marks-105 syntmp-w-855)) (null? (syntmp-wrap-subst-106 syntmp-w-855))) syntmp-x-854) ((syntmp-syntax-object?-88 syntmp-x-854) (syntmp-make-syntax-object-87 (syntmp-syntax-object-expression-89 syntmp-x-854) (syntmp-join-wraps-121 syntmp-w-855 (syntmp-syntax-object-wrap-90 syntmp-x-854)))) ((null? syntmp-x-854) syntmp-x-854) (else (syntmp-make-syntax-object-87 syntmp-x-854 syntmp-w-855))))) (syntmp-bound-id-member?-129 (lambda (syntmp-x-856 syntmp-list-857) (and (not (null? syntmp-list-857)) (or (syntmp-bound-id=?-126 syntmp-x-856 (car syntmp-list-857)) (syntmp-bound-id-member?-129 syntmp-x-856 (cdr syntmp-list-857)))))) (syntmp-distinct-bound-ids?-128 (lambda (syntmp-ids-858) (let syntmp-distinct?-859 ((syntmp-ids-860 syntmp-ids-858)) (or (null? syntmp-ids-860) (and (not (syntmp-bound-id-member?-129 (car syntmp-ids-860) (cdr syntmp-ids-860))) (syntmp-distinct?-859 (cdr syntmp-ids-860))))))) (syntmp-valid-bound-ids?-127 (lambda (syntmp-ids-861) (and (let syntmp-all-ids?-862 ((syntmp-ids-863 syntmp-ids-861)) (or (null? syntmp-ids-863) (and (syntmp-id?-102 (car syntmp-ids-863)) (syntmp-all-ids?-862 (cdr syntmp-ids-863))))) (syntmp-distinct-bound-ids?-128 syntmp-ids-861)))) (syntmp-bound-id=?-126 (lambda (syntmp-i-864 syntmp-j-865) (if (and (syntmp-syntax-object?-88 syntmp-i-864) (syntmp-syntax-object?-88 syntmp-j-865)) (and (eq? (let ((syntmp-e-866 (syntmp-syntax-object-expression-89 syntmp-i-864))) (if (annotation? syntmp-e-866) (annotation-expression syntmp-e-866) syntmp-e-866)) (let ((syntmp-e-867 (syntmp-syntax-object-expression-89 syntmp-j-865))) (if (annotation? syntmp-e-867) (annotation-expression syntmp-e-867) syntmp-e-867))) (syntmp-same-marks?-123 (syntmp-wrap-marks-105 (syntmp-syntax-object-wrap-90 syntmp-i-864)) (syntmp-wrap-marks-105 (syntmp-syntax-object-wrap-90 syntmp-j-865)))) (eq? (let ((syntmp-e-868 syntmp-i-864)) (if (annotation? syntmp-e-868) (annotation-expression syntmp-e-868) syntmp-e-868)) (let ((syntmp-e-869 syntmp-j-865)) (if (annotation? syntmp-e-869) (annotation-expression syntmp-e-869) syntmp-e-869)))))) (syntmp-free-id=?-125 (lambda (syntmp-i-870 syntmp-j-871) (and (eq? (let ((syntmp-x-872 syntmp-i-870)) (let ((syntmp-e-873 (if (syntmp-syntax-object?-88 syntmp-x-872) (syntmp-syntax-object-expression-89 syntmp-x-872) syntmp-x-872))) (if (annotation? syntmp-e-873) (annotation-expression syntmp-e-873) syntmp-e-873))) (let ((syntmp-x-874 syntmp-j-871)) (let ((syntmp-e-875 (if (syntmp-syntax-object?-88 syntmp-x-874) (syntmp-syntax-object-expression-89 syntmp-x-874) syntmp-x-874))) (if (annotation? syntmp-e-875) (annotation-expression syntmp-e-875) syntmp-e-875)))) (eq? (syntmp-id-var-name-124 syntmp-i-870 (quote (()))) (syntmp-id-var-name-124 syntmp-j-871 (quote (()))))))) (syntmp-id-var-name-124 (lambda (syntmp-id-876 syntmp-w-877) (letrec ((syntmp-search-vector-rib-880 (lambda (syntmp-sym-891 syntmp-subst-892 syntmp-marks-893 syntmp-symnames-894 syntmp-ribcage-895) (let ((syntmp-n-896 (vector-length syntmp-symnames-894))) (let syntmp-f-897 ((syntmp-i-898 0)) (cond ((syntmp-fx=-74 syntmp-i-898 syntmp-n-896) (syntmp-search-878 syntmp-sym-891 (cdr syntmp-subst-892) syntmp-marks-893)) ((and (eq? (vector-ref syntmp-symnames-894 syntmp-i-898) syntmp-sym-891) (syntmp-same-marks?-123 syntmp-marks-893 (vector-ref (syntmp-ribcage-marks-112 syntmp-ribcage-895) syntmp-i-898))) (values (vector-ref (syntmp-ribcage-labels-113 syntmp-ribcage-895) syntmp-i-898) syntmp-marks-893)) (else (syntmp-f-897 (syntmp-fx+-72 syntmp-i-898 1)))))))) (syntmp-search-list-rib-879 (lambda (syntmp-sym-899 syntmp-subst-900 syntmp-marks-901 syntmp-symnames-902 syntmp-ribcage-903) (let syntmp-f-904 ((syntmp-symnames-905 syntmp-symnames-902) (syntmp-i-906 0)) (cond ((null? syntmp-symnames-905) (syntmp-search-878 syntmp-sym-899 (cdr syntmp-subst-900) syntmp-marks-901)) ((and (eq? (car syntmp-symnames-905) syntmp-sym-899) (syntmp-same-marks?-123 syntmp-marks-901 (list-ref (syntmp-ribcage-marks-112 syntmp-ribcage-903) syntmp-i-906))) (values (list-ref (syntmp-ribcage-labels-113 syntmp-ribcage-903) syntmp-i-906) syntmp-marks-901)) (else (syntmp-f-904 (cdr syntmp-symnames-905) (syntmp-fx+-72 syntmp-i-906 1))))))) (syntmp-search-878 (lambda (syntmp-sym-907 syntmp-subst-908 syntmp-marks-909) (if (null? syntmp-subst-908) (values #f syntmp-marks-909) (let ((syntmp-fst-910 (car syntmp-subst-908))) (if (eq? syntmp-fst-910 (quote shift)) (syntmp-search-878 syntmp-sym-907 (cdr syntmp-subst-908) (cdr syntmp-marks-909)) (let ((syntmp-symnames-911 (syntmp-ribcage-symnames-111 syntmp-fst-910))) (if (vector? syntmp-symnames-911) (syntmp-search-vector-rib-880 syntmp-sym-907 syntmp-subst-908 syntmp-marks-909 syntmp-symnames-911 syntmp-fst-910) (syntmp-search-list-rib-879 syntmp-sym-907 syntmp-subst-908 syntmp-marks-909 syntmp-symnames-911 syntmp-fst-910))))))))) (cond ((symbol? syntmp-id-876) (or (call-with-values (lambda () (syntmp-search-878 syntmp-id-876 (syntmp-wrap-subst-106 syntmp-w-877) (syntmp-wrap-marks-105 syntmp-w-877))) (lambda (syntmp-x-913 . syntmp-ignore-912) syntmp-x-913)) syntmp-id-876)) ((syntmp-syntax-object?-88 syntmp-id-876) (let ((syntmp-id-914 (let ((syntmp-e-916 (syntmp-syntax-object-expression-89 syntmp-id-876))) (if (annotation? syntmp-e-916) (annotation-expression syntmp-e-916) syntmp-e-916))) (syntmp-w1-915 (syntmp-syntax-object-wrap-90 syntmp-id-876))) (let ((syntmp-marks-917 (syntmp-join-marks-122 (syntmp-wrap-marks-105 syntmp-w-877) (syntmp-wrap-marks-105 syntmp-w1-915)))) (call-with-values (lambda () (syntmp-search-878 syntmp-id-914 (syntmp-wrap-subst-106 syntmp-w-877) syntmp-marks-917)) (lambda (syntmp-new-id-918 syntmp-marks-919) (or syntmp-new-id-918 (call-with-values (lambda () (syntmp-search-878 syntmp-id-914 (syntmp-wrap-subst-106 syntmp-w1-915) syntmp-marks-919)) (lambda (syntmp-x-921 . syntmp-ignore-920) syntmp-x-921)) syntmp-id-914)))))) ((annotation? syntmp-id-876) (let ((syntmp-id-922 (let ((syntmp-e-923 syntmp-id-876)) (if (annotation? syntmp-e-923) (annotation-expression syntmp-e-923) syntmp-e-923)))) (or (call-with-values (lambda () (syntmp-search-878 syntmp-id-922 (syntmp-wrap-subst-106 syntmp-w-877) (syntmp-wrap-marks-105 syntmp-w-877))) (lambda (syntmp-x-925 . syntmp-ignore-924) syntmp-x-925)) syntmp-id-922))) (else (syntmp-error-hook-78 (quote id-var-name) "invalid id" syntmp-id-876)))))) (syntmp-same-marks?-123 (lambda (syntmp-x-926 syntmp-y-927) (or (eq? syntmp-x-926 syntmp-y-927) (and (not (null? syntmp-x-926)) (not (null? syntmp-y-927)) (eq? (car syntmp-x-926) (car syntmp-y-927)) (syntmp-same-marks?-123 (cdr syntmp-x-926) (cdr syntmp-y-927)))))) (syntmp-join-marks-122 (lambda (syntmp-m1-928 syntmp-m2-929) (syntmp-smart-append-120 syntmp-m1-928 syntmp-m2-929))) (syntmp-join-wraps-121 (lambda (syntmp-w1-930 syntmp-w2-931) (let ((syntmp-m1-932 (syntmp-wrap-marks-105 syntmp-w1-930)) (syntmp-s1-933 (syntmp-wrap-subst-106 syntmp-w1-930))) (if (null? syntmp-m1-932) (if (null? syntmp-s1-933) syntmp-w2-931 (syntmp-make-wrap-104 (syntmp-wrap-marks-105 syntmp-w2-931) (syntmp-smart-append-120 syntmp-s1-933 (syntmp-wrap-subst-106 syntmp-w2-931)))) (syntmp-make-wrap-104 (syntmp-smart-append-120 syntmp-m1-932 (syntmp-wrap-marks-105 syntmp-w2-931)) (syntmp-smart-append-120 syntmp-s1-933 (syntmp-wrap-subst-106 syntmp-w2-931))))))) (syntmp-smart-append-120 (lambda (syntmp-m1-934 syntmp-m2-935) (if (null? syntmp-m2-935) syntmp-m1-934 (append syntmp-m1-934 syntmp-m2-935)))) (syntmp-make-binding-wrap-119 (lambda (syntmp-ids-936 syntmp-labels-937 syntmp-w-938) (if (null? syntmp-ids-936) syntmp-w-938 (syntmp-make-wrap-104 (syntmp-wrap-marks-105 syntmp-w-938) (cons (let ((syntmp-labelvec-939 (list->vector syntmp-labels-937))) (let ((syntmp-n-940 (vector-length syntmp-labelvec-939))) (let ((syntmp-symnamevec-941 (make-vector syntmp-n-940)) (syntmp-marksvec-942 (make-vector syntmp-n-940))) (begin (let syntmp-f-943 ((syntmp-ids-944 syntmp-ids-936) (syntmp-i-945 0)) (if (not (null? syntmp-ids-944)) (call-with-values (lambda () (syntmp-id-sym-name&marks-103 (car syntmp-ids-944) syntmp-w-938)) (lambda (syntmp-symname-946 syntmp-marks-947) (begin (vector-set! syntmp-symnamevec-941 syntmp-i-945 syntmp-symname-946) (vector-set! syntmp-marksvec-942 syntmp-i-945 syntmp-marks-947) (syntmp-f-943 (cdr syntmp-ids-944) (syntmp-fx+-72 syntmp-i-945 1))))))) (syntmp-make-ribcage-109 syntmp-symnamevec-941 syntmp-marksvec-942 syntmp-labelvec-939))))) (syntmp-wrap-subst-106 syntmp-w-938)))))) (syntmp-extend-ribcage!-118 (lambda (syntmp-ribcage-948 syntmp-id-949 syntmp-label-950) (begin (syntmp-set-ribcage-symnames!-114 syntmp-ribcage-948 (cons (let ((syntmp-e-951 (syntmp-syntax-object-expression-89 syntmp-id-949))) (if (annotation? syntmp-e-951) (annotation-expression syntmp-e-951) syntmp-e-951)) (syntmp-ribcage-symnames-111 syntmp-ribcage-948))) (syntmp-set-ribcage-marks!-115 syntmp-ribcage-948 (cons (syntmp-wrap-marks-105 (syntmp-syntax-object-wrap-90 syntmp-id-949)) (syntmp-ribcage-marks-112 syntmp-ribcage-948))) (syntmp-set-ribcage-labels!-116 syntmp-ribcage-948 (cons syntmp-label-950 (syntmp-ribcage-labels-113 syntmp-ribcage-948)))))) (syntmp-anti-mark-117 (lambda (syntmp-w-952) (syntmp-make-wrap-104 (cons #f (syntmp-wrap-marks-105 syntmp-w-952)) (cons (quote shift) (syntmp-wrap-subst-106 syntmp-w-952))))) (syntmp-set-ribcage-labels!-116 (lambda (syntmp-x-953 syntmp-update-954) (vector-set! syntmp-x-953 3 syntmp-update-954))) (syntmp-set-ribcage-marks!-115 (lambda (syntmp-x-955 syntmp-update-956) (vector-set! syntmp-x-955 2 syntmp-update-956))) (syntmp-set-ribcage-symnames!-114 (lambda (syntmp-x-957 syntmp-update-958) (vector-set! syntmp-x-957 1 syntmp-update-958))) (syntmp-ribcage-labels-113 (lambda (syntmp-x-959) (vector-ref syntmp-x-959 3))) (syntmp-ribcage-marks-112 (lambda (syntmp-x-960) (vector-ref syntmp-x-960 2))) (syntmp-ribcage-symnames-111 (lambda (syntmp-x-961) (vector-ref syntmp-x-961 1))) (syntmp-ribcage?-110 (lambda (syntmp-x-962) (and (vector? syntmp-x-962) (= (vector-length syntmp-x-962) 4) (eq? (vector-ref syntmp-x-962 0) (quote ribcage))))) (syntmp-make-ribcage-109 (lambda (syntmp-symnames-963 syntmp-marks-964 syntmp-labels-965) (vector (quote ribcage) syntmp-symnames-963 syntmp-marks-964 syntmp-labels-965))) (syntmp-gen-labels-108 (lambda (syntmp-ls-966) (if (null? syntmp-ls-966) (quote ()) (cons (syntmp-gen-label-107) (syntmp-gen-labels-108 (cdr syntmp-ls-966)))))) (syntmp-gen-label-107 (lambda () (string #\i))) (syntmp-wrap-subst-106 cdr) (syntmp-wrap-marks-105 car) (syntmp-make-wrap-104 cons) (syntmp-id-sym-name&marks-103 (lambda (syntmp-x-967 syntmp-w-968) (if (syntmp-syntax-object?-88 syntmp-x-967) (values (let ((syntmp-e-969 (syntmp-syntax-object-expression-89 syntmp-x-967))) (if (annotation? syntmp-e-969) (annotation-expression syntmp-e-969) syntmp-e-969)) (syntmp-join-marks-122 (syntmp-wrap-marks-105 syntmp-w-968) (syntmp-wrap-marks-105 (syntmp-syntax-object-wrap-90 syntmp-x-967)))) (values (let ((syntmp-e-970 syntmp-x-967)) (if (annotation? syntmp-e-970) (annotation-expression syntmp-e-970) syntmp-e-970)) (syntmp-wrap-marks-105 syntmp-w-968))))) (syntmp-id?-102 (lambda (syntmp-x-971) (cond ((symbol? syntmp-x-971) #t) ((syntmp-syntax-object?-88 syntmp-x-971) (symbol? (let ((syntmp-e-972 (syntmp-syntax-object-expression-89 syntmp-x-971))) (if (annotation? syntmp-e-972) (annotation-expression syntmp-e-972) syntmp-e-972)))) ((annotation? syntmp-x-971) (symbol? (annotation-expression syntmp-x-971))) (else #f)))) (syntmp-nonsymbol-id?-101 (lambda (syntmp-x-973) (and (syntmp-syntax-object?-88 syntmp-x-973) (symbol? (let ((syntmp-e-974 (syntmp-syntax-object-expression-89 syntmp-x-973))) (if (annotation? syntmp-e-974) (annotation-expression syntmp-e-974) syntmp-e-974)))))) (syntmp-global-extend-100 (lambda (syntmp-type-975 syntmp-sym-976 syntmp-val-977) (syntmp-put-global-definition-hook-79 syntmp-sym-976 (cons syntmp-type-975 syntmp-val-977)))) (syntmp-lookup-99 (lambda (syntmp-x-978 syntmp-r-979) (cond ((assq syntmp-x-978 syntmp-r-979) => cdr) ((symbol? syntmp-x-978) (or (syntmp-get-global-definition-hook-80 syntmp-x-978) (quote (global)))) (else (quote (displaced-lexical)))))) (syntmp-macros-only-env-98 (lambda (syntmp-r-980) (if (null? syntmp-r-980) (quote ()) (let ((syntmp-a-981 (car syntmp-r-980))) (if (eq? (cadr syntmp-a-981) (quote macro)) (cons syntmp-a-981 (syntmp-macros-only-env-98 (cdr syntmp-r-980))) (syntmp-macros-only-env-98 (cdr syntmp-r-980))))))) (syntmp-extend-var-env-97 (lambda (syntmp-labels-982 syntmp-vars-983 syntmp-r-984) (if (null? syntmp-labels-982) syntmp-r-984 (syntmp-extend-var-env-97 (cdr syntmp-labels-982) (cdr syntmp-vars-983) (cons (cons (car syntmp-labels-982) (cons (quote lexical) (car syntmp-vars-983))) syntmp-r-984))))) (syntmp-extend-env-96 (lambda (syntmp-labels-985 syntmp-bindings-986 syntmp-r-987) (if (null? syntmp-labels-985) syntmp-r-987 (syntmp-extend-env-96 (cdr syntmp-labels-985) (cdr syntmp-bindings-986) (cons (cons (car syntmp-labels-985) (car syntmp-bindings-986)) syntmp-r-987))))) (syntmp-binding-value-95 cdr) (syntmp-binding-type-94 car) (syntmp-source-annotation-93 (lambda (syntmp-x-988) (cond ((annotation? syntmp-x-988) (annotation-source syntmp-x-988)) ((syntmp-syntax-object?-88 syntmp-x-988) (syntmp-source-annotation-93 (syntmp-syntax-object-expression-89 syntmp-x-988))) (else #f)))) (syntmp-set-syntax-object-wrap!-92 (lambda (syntmp-x-989 syntmp-update-990) (vector-set! syntmp-x-989 2 syntmp-update-990))) (syntmp-set-syntax-object-expression!-91 (lambda (syntmp-x-991 syntmp-update-992) (vector-set! syntmp-x-991 1 syntmp-update-992))) (syntmp-syntax-object-wrap-90 (lambda (syntmp-x-993) (vector-ref syntmp-x-993 2))) (syntmp-syntax-object-expression-89 (lambda (syntmp-x-994) (vector-ref syntmp-x-994 1))) (syntmp-syntax-object?-88 (lambda (syntmp-x-995) (and (vector? syntmp-x-995) (= (vector-length syntmp-x-995) 3) (eq? (vector-ref syntmp-x-995 0) (quote syntax-object))))) (syntmp-make-syntax-object-87 (lambda (syntmp-expression-996 syntmp-wrap-997) (vector (quote syntax-object) syntmp-expression-996 syntmp-wrap-997))) (syntmp-build-letrec-86 (lambda (syntmp-src-998 syntmp-vars-999 syntmp-val-exps-1000 syntmp-body-exp-1001) (if (null? syntmp-vars-999) (syntmp-build-annotated-81 syntmp-src-998 syntmp-body-exp-1001) (syntmp-build-annotated-81 syntmp-src-998 (list (quote letrec) (map list syntmp-vars-999 syntmp-val-exps-1000) syntmp-body-exp-1001))))) (syntmp-build-named-let-85 (lambda (syntmp-src-1002 syntmp-vars-1003 syntmp-val-exps-1004 syntmp-body-exp-1005) (if (null? syntmp-vars-1003) (syntmp-build-annotated-81 syntmp-src-1002 syntmp-body-exp-1005) (syntmp-build-annotated-81 syntmp-src-1002 (list (quote let) (car syntmp-vars-1003) (map list (cdr syntmp-vars-1003) syntmp-val-exps-1004) syntmp-body-exp-1005))))) (syntmp-build-let-84 (lambda (syntmp-src-1006 syntmp-vars-1007 syntmp-val-exps-1008 syntmp-body-exp-1009) (if (null? syntmp-vars-1007) (syntmp-build-annotated-81 syntmp-src-1006 syntmp-body-exp-1009) (syntmp-build-annotated-81 syntmp-src-1006 (list (quote let) (map list syntmp-vars-1007 syntmp-val-exps-1008) syntmp-body-exp-1009))))) (syntmp-build-sequence-83 (lambda (syntmp-src-1010 syntmp-exps-1011) (if (null? (cdr syntmp-exps-1011)) (syntmp-build-annotated-81 syntmp-src-1010 (car syntmp-exps-1011)) (syntmp-build-annotated-81 syntmp-src-1010 (cons (quote begin) syntmp-exps-1011))))) (syntmp-build-data-82 (lambda (syntmp-src-1012 syntmp-exp-1013) (if (and (self-evaluating? syntmp-exp-1013) (not (vector? syntmp-exp-1013))) (syntmp-build-annotated-81 syntmp-src-1012 syntmp-exp-1013) (syntmp-build-annotated-81 syntmp-src-1012 (list (quote quote) syntmp-exp-1013))))) (syntmp-build-annotated-81 (lambda (syntmp-src-1014 syntmp-exp-1015) (if (and syntmp-src-1014 (not (annotation? syntmp-exp-1015))) (make-annotation syntmp-exp-1015 syntmp-src-1014 #t) syntmp-exp-1015))) (syntmp-get-global-definition-hook-80 (lambda (syntmp-symbol-1016) (getprop syntmp-symbol-1016 (quote *sc-expander*)))) (syntmp-put-global-definition-hook-79 (lambda (syntmp-symbol-1017 syntmp-binding-1018) (putprop syntmp-symbol-1017 (quote *sc-expander*) syntmp-binding-1018))) (syntmp-error-hook-78 (lambda (syntmp-who-1019 syntmp-why-1020 syntmp-what-1021) (error syntmp-who-1019 "~a ~s" syntmp-why-1020 syntmp-what-1021))) (syntmp-local-eval-hook-77 (lambda (syntmp-x-1022) (eval (list syntmp-noexpand-71 syntmp-x-1022) (interaction-environment)))) (syntmp-top-level-eval-hook-76 (lambda (syntmp-x-1023) (eval (list syntmp-noexpand-71 syntmp-x-1023) (interaction-environment)))) (syntmp-fx<-75 <) (syntmp-fx=-74 =) (syntmp-fx--73 -) (syntmp-fx+-72 +) (syntmp-noexpand-71 "noexpand")) (begin (syntmp-global-extend-100 (quote local-syntax) (quote letrec-syntax) #t) (syntmp-global-extend-100 (quote local-syntax) (quote let-syntax) #f) (syntmp-global-extend-100 (quote core) (quote fluid-let-syntax) (lambda (syntmp-e-1024 syntmp-r-1025 syntmp-w-1026 syntmp-s-1027) ((lambda (syntmp-tmp-1028) ((lambda (syntmp-tmp-1029) (if (if syntmp-tmp-1029 (apply (lambda (syntmp-_-1030 syntmp-var-1031 syntmp-val-1032 syntmp-e1-1033 syntmp-e2-1034) (syntmp-valid-bound-ids?-127 syntmp-var-1031)) syntmp-tmp-1029) #f) (apply (lambda (syntmp-_-1036 syntmp-var-1037 syntmp-val-1038 syntmp-e1-1039 syntmp-e2-1040) (let ((syntmp-names-1041 (map (lambda (syntmp-x-1042) (syntmp-id-var-name-124 syntmp-x-1042 syntmp-w-1026)) syntmp-var-1037))) (begin (for-each (lambda (syntmp-id-1044 syntmp-n-1045) (let ((syntmp-t-1046 (syntmp-binding-type-94 (syntmp-lookup-99 syntmp-n-1045 syntmp-r-1025)))) (if (memv syntmp-t-1046 (quote (displaced-lexical))) (syntax-error (syntmp-source-wrap-131 syntmp-id-1044 syntmp-w-1026 syntmp-s-1027) "identifier out of context")))) syntmp-var-1037 syntmp-names-1041) (syntmp-chi-body-142 (cons syntmp-e1-1039 syntmp-e2-1040) (syntmp-source-wrap-131 syntmp-e-1024 syntmp-w-1026 syntmp-s-1027) (syntmp-extend-env-96 syntmp-names-1041 (let ((syntmp-trans-r-1049 (syntmp-macros-only-env-98 syntmp-r-1025))) (map (lambda (syntmp-x-1050) (cons (quote macro) (syntmp-eval-local-transformer-145 (syntmp-chi-138 syntmp-x-1050 syntmp-trans-r-1049 syntmp-w-1026)))) syntmp-val-1038)) syntmp-r-1025) syntmp-w-1026)))) syntmp-tmp-1029) ((lambda (syntmp-_-1052) (syntax-error (syntmp-source-wrap-131 syntmp-e-1024 syntmp-w-1026 syntmp-s-1027))) syntmp-tmp-1028))) (syntax-dispatch syntmp-tmp-1028 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1024))) (syntmp-global-extend-100 (quote core) (quote quote) (lambda (syntmp-e-1053 syntmp-r-1054 syntmp-w-1055 syntmp-s-1056) ((lambda (syntmp-tmp-1057) ((lambda (syntmp-tmp-1058) (if syntmp-tmp-1058 (apply (lambda (syntmp-_-1059 syntmp-e-1060) (syntmp-build-data-82 syntmp-s-1056 (syntmp-strip-149 syntmp-e-1060 syntmp-w-1055))) syntmp-tmp-1058) ((lambda (syntmp-_-1061) (syntax-error (syntmp-source-wrap-131 syntmp-e-1053 syntmp-w-1055 syntmp-s-1056))) syntmp-tmp-1057))) (syntax-dispatch syntmp-tmp-1057 (quote (any any))))) syntmp-e-1053))) (syntmp-global-extend-100 (quote core) (quote syntax) (letrec ((syntmp-regen-1069 (lambda (syntmp-x-1070) (let ((syntmp-t-1071 (car syntmp-x-1070))) (if (memv syntmp-t-1071 (quote (ref))) (syntmp-build-annotated-81 #f (cadr syntmp-x-1070)) (if (memv syntmp-t-1071 (quote (primitive))) (syntmp-build-annotated-81 #f (cadr syntmp-x-1070)) (if (memv syntmp-t-1071 (quote (quote))) (syntmp-build-data-82 #f (cadr syntmp-x-1070)) (if (memv syntmp-t-1071 (quote (lambda))) (syntmp-build-annotated-81 #f (list (quote lambda) (cadr syntmp-x-1070) (syntmp-regen-1069 (caddr syntmp-x-1070)))) (if (memv syntmp-t-1071 (quote (map))) (let ((syntmp-ls-1072 (map syntmp-regen-1069 (cdr syntmp-x-1070)))) (syntmp-build-annotated-81 #f (cons (if (syntmp-fx=-74 (length syntmp-ls-1072) 2) (syntmp-build-annotated-81 #f (quote map)) (syntmp-build-annotated-81 #f (quote map))) syntmp-ls-1072))) (syntmp-build-annotated-81 #f (cons (syntmp-build-annotated-81 #f (car syntmp-x-1070)) (map syntmp-regen-1069 (cdr syntmp-x-1070)))))))))))) (syntmp-gen-vector-1068 (lambda (syntmp-x-1073) (cond ((eq? (car syntmp-x-1073) (quote list)) (cons (quote vector) (cdr syntmp-x-1073))) ((eq? (car syntmp-x-1073) (quote quote)) (list (quote quote) (list->vector (cadr syntmp-x-1073)))) (else (list (quote list->vector) syntmp-x-1073))))) (syntmp-gen-append-1067 (lambda (syntmp-x-1074 syntmp-y-1075) (if (equal? syntmp-y-1075 (quote (quote ()))) syntmp-x-1074 (list (quote append) syntmp-x-1074 syntmp-y-1075)))) (syntmp-gen-cons-1066 (lambda (syntmp-x-1076 syntmp-y-1077) (let ((syntmp-t-1078 (car syntmp-y-1077))) (if (memv syntmp-t-1078 (quote (quote))) (if (eq? (car syntmp-x-1076) (quote quote)) (list (quote quote) (cons (cadr syntmp-x-1076) (cadr syntmp-y-1077))) (if (eq? (cadr syntmp-y-1077) (quote ())) (list (quote list) syntmp-x-1076) (list (quote cons) syntmp-x-1076 syntmp-y-1077))) (if (memv syntmp-t-1078 (quote (list))) (cons (quote list) (cons syntmp-x-1076 (cdr syntmp-y-1077))) (list (quote cons) syntmp-x-1076 syntmp-y-1077)))))) (syntmp-gen-map-1065 (lambda (syntmp-e-1079 syntmp-map-env-1080) (let ((syntmp-formals-1081 (map cdr syntmp-map-env-1080)) (syntmp-actuals-1082 (map (lambda (syntmp-x-1083) (list (quote ref) (car syntmp-x-1083))) syntmp-map-env-1080))) (cond ((eq? (car syntmp-e-1079) (quote ref)) (car syntmp-actuals-1082)) ((andmap (lambda (syntmp-x-1084) (and (eq? (car syntmp-x-1084) (quote ref)) (memq (cadr syntmp-x-1084) syntmp-formals-1081))) (cdr syntmp-e-1079)) (cons (quote map) (cons (list (quote primitive) (car syntmp-e-1079)) (map (let ((syntmp-r-1085 (map cons syntmp-formals-1081 syntmp-actuals-1082))) (lambda (syntmp-x-1086) (cdr (assq (cadr syntmp-x-1086) syntmp-r-1085)))) (cdr syntmp-e-1079))))) (else (cons (quote map) (cons (list (quote lambda) syntmp-formals-1081 syntmp-e-1079) syntmp-actuals-1082))))))) (syntmp-gen-mappend-1064 (lambda (syntmp-e-1087 syntmp-map-env-1088) (list (quote apply) (quote (primitive append)) (syntmp-gen-map-1065 syntmp-e-1087 syntmp-map-env-1088)))) (syntmp-gen-ref-1063 (lambda (syntmp-src-1089 syntmp-var-1090 syntmp-level-1091 syntmp-maps-1092) (if (syntmp-fx=-74 syntmp-level-1091 0) (values syntmp-var-1090 syntmp-maps-1092) (if (null? syntmp-maps-1092) (syntax-error syntmp-src-1089 "missing ellipsis in syntax form") (call-with-values (lambda () (syntmp-gen-ref-1063 syntmp-src-1089 syntmp-var-1090 (syntmp-fx--73 syntmp-level-1091 1) (cdr syntmp-maps-1092))) (lambda (syntmp-outer-var-1093 syntmp-outer-maps-1094) (let ((syntmp-b-1095 (assq syntmp-outer-var-1093 (car syntmp-maps-1092)))) (if syntmp-b-1095 (values (cdr syntmp-b-1095) syntmp-maps-1092) (let ((syntmp-inner-var-1096 (syntmp-gen-var-150 (quote tmp)))) (values syntmp-inner-var-1096 (cons (cons (cons syntmp-outer-var-1093 syntmp-inner-var-1096) (car syntmp-maps-1092)) syntmp-outer-maps-1094))))))))))) (syntmp-gen-syntax-1062 (lambda (syntmp-src-1097 syntmp-e-1098 syntmp-r-1099 syntmp-maps-1100 syntmp-ellipsis?-1101) (if (syntmp-id?-102 syntmp-e-1098) (let ((syntmp-label-1102 (syntmp-id-var-name-124 syntmp-e-1098 (quote (()))))) (let ((syntmp-b-1103 (syntmp-lookup-99 syntmp-label-1102 syntmp-r-1099))) (if (eq? (syntmp-binding-type-94 syntmp-b-1103) (quote syntax)) (call-with-values (lambda () (let ((syntmp-var.lev-1104 (syntmp-binding-value-95 syntmp-b-1103))) (syntmp-gen-ref-1063 syntmp-src-1097 (car syntmp-var.lev-1104) (cdr syntmp-var.lev-1104) syntmp-maps-1100))) (lambda (syntmp-var-1105 syntmp-maps-1106) (values (list (quote ref) syntmp-var-1105) syntmp-maps-1106))) (if (syntmp-ellipsis?-1101 syntmp-e-1098) (syntax-error syntmp-src-1097 "misplaced ellipsis in syntax form") (values (list (quote quote) syntmp-e-1098) syntmp-maps-1100))))) ((lambda (syntmp-tmp-1107) ((lambda (syntmp-tmp-1108) (if (if syntmp-tmp-1108 (apply (lambda (syntmp-dots-1109 syntmp-e-1110) (syntmp-ellipsis?-1101 syntmp-dots-1109)) syntmp-tmp-1108) #f) (apply (lambda (syntmp-dots-1111 syntmp-e-1112) (syntmp-gen-syntax-1062 syntmp-src-1097 syntmp-e-1112 syntmp-r-1099 syntmp-maps-1100 (lambda (syntmp-x-1113) #f))) syntmp-tmp-1108) ((lambda (syntmp-tmp-1114) (if (if syntmp-tmp-1114 (apply (lambda (syntmp-x-1115 syntmp-dots-1116 syntmp-y-1117) (syntmp-ellipsis?-1101 syntmp-dots-1116)) syntmp-tmp-1114) #f) (apply (lambda (syntmp-x-1118 syntmp-dots-1119 syntmp-y-1120) (let syntmp-f-1121 ((syntmp-y-1122 syntmp-y-1120) (syntmp-k-1123 (lambda (syntmp-maps-1124) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-src-1097 syntmp-x-1118 syntmp-r-1099 (cons (quote ()) syntmp-maps-1124) syntmp-ellipsis?-1101)) (lambda (syntmp-x-1125 syntmp-maps-1126) (if (null? (car syntmp-maps-1126)) (syntax-error syntmp-src-1097 "extra ellipsis in syntax form") (values (syntmp-gen-map-1065 syntmp-x-1125 (car syntmp-maps-1126)) (cdr syntmp-maps-1126)))))))) ((lambda (syntmp-tmp-1127) ((lambda (syntmp-tmp-1128) (if (if syntmp-tmp-1128 (apply (lambda (syntmp-dots-1129 syntmp-y-1130) (syntmp-ellipsis?-1101 syntmp-dots-1129)) syntmp-tmp-1128) #f) (apply (lambda (syntmp-dots-1131 syntmp-y-1132) (syntmp-f-1121 syntmp-y-1132 (lambda (syntmp-maps-1133) (call-with-values (lambda () (syntmp-k-1123 (cons (quote ()) syntmp-maps-1133))) (lambda (syntmp-x-1134 syntmp-maps-1135) (if (null? (car syntmp-maps-1135)) (syntax-error syntmp-src-1097 "extra ellipsis in syntax form") (values (syntmp-gen-mappend-1064 syntmp-x-1134 (car syntmp-maps-1135)) (cdr syntmp-maps-1135)))))))) syntmp-tmp-1128) ((lambda (syntmp-_-1136) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-src-1097 syntmp-y-1122 syntmp-r-1099 syntmp-maps-1100 syntmp-ellipsis?-1101)) (lambda (syntmp-y-1137 syntmp-maps-1138) (call-with-values (lambda () (syntmp-k-1123 syntmp-maps-1138)) (lambda (syntmp-x-1139 syntmp-maps-1140) (values (syntmp-gen-append-1067 syntmp-x-1139 syntmp-y-1137) syntmp-maps-1140)))))) syntmp-tmp-1127))) (syntax-dispatch syntmp-tmp-1127 (quote (any . any))))) syntmp-y-1122))) syntmp-tmp-1114) ((lambda (syntmp-tmp-1141) (if syntmp-tmp-1141 (apply (lambda (syntmp-x-1142 syntmp-y-1143) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-src-1097 syntmp-x-1142 syntmp-r-1099 syntmp-maps-1100 syntmp-ellipsis?-1101)) (lambda (syntmp-x-1144 syntmp-maps-1145) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-src-1097 syntmp-y-1143 syntmp-r-1099 syntmp-maps-1145 syntmp-ellipsis?-1101)) (lambda (syntmp-y-1146 syntmp-maps-1147) (values (syntmp-gen-cons-1066 syntmp-x-1144 syntmp-y-1146) syntmp-maps-1147)))))) syntmp-tmp-1141) ((lambda (syntmp-tmp-1148) (if syntmp-tmp-1148 (apply (lambda (syntmp-e1-1149 syntmp-e2-1150) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-src-1097 (cons syntmp-e1-1149 syntmp-e2-1150) syntmp-r-1099 syntmp-maps-1100 syntmp-ellipsis?-1101)) (lambda (syntmp-e-1152 syntmp-maps-1153) (values (syntmp-gen-vector-1068 syntmp-e-1152) syntmp-maps-1153)))) syntmp-tmp-1148) ((lambda (syntmp-_-1154) (values (list (quote quote) syntmp-e-1098) syntmp-maps-1100)) syntmp-tmp-1107))) (syntax-dispatch syntmp-tmp-1107 (quote #(vector (any . each-any))))))) (syntax-dispatch syntmp-tmp-1107 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1107 (quote (any any . any)))))) (syntax-dispatch syntmp-tmp-1107 (quote (any any))))) syntmp-e-1098))))) (lambda (syntmp-e-1155 syntmp-r-1156 syntmp-w-1157 syntmp-s-1158) (let ((syntmp-e-1159 (syntmp-source-wrap-131 syntmp-e-1155 syntmp-w-1157 syntmp-s-1158))) ((lambda (syntmp-tmp-1160) ((lambda (syntmp-tmp-1161) (if syntmp-tmp-1161 (apply (lambda (syntmp-_-1162 syntmp-x-1163) (call-with-values (lambda () (syntmp-gen-syntax-1062 syntmp-e-1159 syntmp-x-1163 syntmp-r-1156 (quote ()) syntmp-ellipsis?-147)) (lambda (syntmp-e-1164 syntmp-maps-1165) (syntmp-regen-1069 syntmp-e-1164)))) syntmp-tmp-1161) ((lambda (syntmp-_-1166) (syntax-error syntmp-e-1159)) syntmp-tmp-1160))) (syntax-dispatch syntmp-tmp-1160 (quote (any any))))) syntmp-e-1159))))) (syntmp-global-extend-100 (quote core) (quote lambda) (lambda (syntmp-e-1167 syntmp-r-1168 syntmp-w-1169 syntmp-s-1170) ((lambda (syntmp-tmp-1171) ((lambda (syntmp-tmp-1172) (if syntmp-tmp-1172 (apply (lambda (syntmp-_-1173 syntmp-c-1174) (syntmp-chi-lambda-clause-143 (syntmp-source-wrap-131 syntmp-e-1167 syntmp-w-1169 syntmp-s-1170) syntmp-c-1174 syntmp-r-1168 syntmp-w-1169 (lambda (syntmp-vars-1175 syntmp-body-1176) (syntmp-build-annotated-81 syntmp-s-1170 (list (quote lambda) syntmp-vars-1175 syntmp-body-1176))))) syntmp-tmp-1172) (syntax-error syntmp-tmp-1171))) (syntax-dispatch syntmp-tmp-1171 (quote (any . any))))) syntmp-e-1167))) (syntmp-global-extend-100 (quote core) (quote let) (letrec ((syntmp-chi-let-1177 (lambda (syntmp-e-1178 syntmp-r-1179 syntmp-w-1180 syntmp-s-1181 syntmp-constructor-1182 syntmp-ids-1183 syntmp-vals-1184 syntmp-exps-1185) (if (not (syntmp-valid-bound-ids?-127 syntmp-ids-1183)) (syntax-error syntmp-e-1178 "duplicate bound variable in") (let ((syntmp-labels-1186 (syntmp-gen-labels-108 syntmp-ids-1183)) (syntmp-new-vars-1187 (map syntmp-gen-var-150 syntmp-ids-1183))) (let ((syntmp-nw-1188 (syntmp-make-binding-wrap-119 syntmp-ids-1183 syntmp-labels-1186 syntmp-w-1180)) (syntmp-nr-1189 (syntmp-extend-var-env-97 syntmp-labels-1186 syntmp-new-vars-1187 syntmp-r-1179))) (syntmp-constructor-1182 syntmp-s-1181 syntmp-new-vars-1187 (map (lambda (syntmp-x-1190) (syntmp-chi-138 syntmp-x-1190 syntmp-r-1179 syntmp-w-1180)) syntmp-vals-1184) (syntmp-chi-body-142 syntmp-exps-1185 (syntmp-source-wrap-131 syntmp-e-1178 syntmp-nw-1188 syntmp-s-1181) syntmp-nr-1189 syntmp-nw-1188)))))))) (lambda (syntmp-e-1191 syntmp-r-1192 syntmp-w-1193 syntmp-s-1194) ((lambda (syntmp-tmp-1195) ((lambda (syntmp-tmp-1196) (if syntmp-tmp-1196 (apply (lambda (syntmp-_-1197 syntmp-id-1198 syntmp-val-1199 syntmp-e1-1200 syntmp-e2-1201) (syntmp-chi-let-1177 syntmp-e-1191 syntmp-r-1192 syntmp-w-1193 syntmp-s-1194 syntmp-build-let-84 syntmp-id-1198 syntmp-val-1199 (cons syntmp-e1-1200 syntmp-e2-1201))) syntmp-tmp-1196) ((lambda (syntmp-tmp-1205) (if (if syntmp-tmp-1205 (apply (lambda (syntmp-_-1206 syntmp-f-1207 syntmp-id-1208 syntmp-val-1209 syntmp-e1-1210 syntmp-e2-1211) (syntmp-id?-102 syntmp-f-1207)) syntmp-tmp-1205) #f) (apply (lambda (syntmp-_-1212 syntmp-f-1213 syntmp-id-1214 syntmp-val-1215 syntmp-e1-1216 syntmp-e2-1217) (syntmp-chi-let-1177 syntmp-e-1191 syntmp-r-1192 syntmp-w-1193 syntmp-s-1194 syntmp-build-named-let-85 (cons syntmp-f-1213 syntmp-id-1214) syntmp-val-1215 (cons syntmp-e1-1216 syntmp-e2-1217))) syntmp-tmp-1205) ((lambda (syntmp-_-1221) (syntax-error (syntmp-source-wrap-131 syntmp-e-1191 syntmp-w-1193 syntmp-s-1194))) syntmp-tmp-1195))) (syntax-dispatch syntmp-tmp-1195 (quote (any any #(each (any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1195 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1191)))) (syntmp-global-extend-100 (quote core) (quote letrec) (lambda (syntmp-e-1222 syntmp-r-1223 syntmp-w-1224 syntmp-s-1225) ((lambda (syntmp-tmp-1226) ((lambda (syntmp-tmp-1227) (if syntmp-tmp-1227 (apply (lambda (syntmp-_-1228 syntmp-id-1229 syntmp-val-1230 syntmp-e1-1231 syntmp-e2-1232) (let ((syntmp-ids-1233 syntmp-id-1229)) (if (not (syntmp-valid-bound-ids?-127 syntmp-ids-1233)) (syntax-error syntmp-e-1222 "duplicate bound variable in") (let ((syntmp-labels-1235 (syntmp-gen-labels-108 syntmp-ids-1233)) (syntmp-new-vars-1236 (map syntmp-gen-var-150 syntmp-ids-1233))) (let ((syntmp-w-1237 (syntmp-make-binding-wrap-119 syntmp-ids-1233 syntmp-labels-1235 syntmp-w-1224)) (syntmp-r-1238 (syntmp-extend-var-env-97 syntmp-labels-1235 syntmp-new-vars-1236 syntmp-r-1223))) (syntmp-build-letrec-86 syntmp-s-1225 syntmp-new-vars-1236 (map (lambda (syntmp-x-1239) (syntmp-chi-138 syntmp-x-1239 syntmp-r-1238 syntmp-w-1237)) syntmp-val-1230) (syntmp-chi-body-142 (cons syntmp-e1-1231 syntmp-e2-1232) (syntmp-source-wrap-131 syntmp-e-1222 syntmp-w-1237 syntmp-s-1225) syntmp-r-1238 syntmp-w-1237))))))) syntmp-tmp-1227) ((lambda (syntmp-_-1242) (syntax-error (syntmp-source-wrap-131 syntmp-e-1222 syntmp-w-1224 syntmp-s-1225))) syntmp-tmp-1226))) (syntax-dispatch syntmp-tmp-1226 (quote (any #(each (any any)) any . each-any))))) syntmp-e-1222))) (syntmp-global-extend-100 (quote core) (quote set!) (lambda (syntmp-e-1243 syntmp-r-1244 syntmp-w-1245 syntmp-s-1246) ((lambda (syntmp-tmp-1247) ((lambda (syntmp-tmp-1248) (if (if syntmp-tmp-1248 (apply (lambda (syntmp-_-1249 syntmp-id-1250 syntmp-val-1251) (syntmp-id?-102 syntmp-id-1250)) syntmp-tmp-1248) #f) (apply (lambda (syntmp-_-1252 syntmp-id-1253 syntmp-val-1254) (let ((syntmp-val-1255 (syntmp-chi-138 syntmp-val-1254 syntmp-r-1244 syntmp-w-1245)) (syntmp-n-1256 (syntmp-id-var-name-124 syntmp-id-1253 syntmp-w-1245))) (let ((syntmp-b-1257 (syntmp-lookup-99 syntmp-n-1256 syntmp-r-1244))) (let ((syntmp-t-1258 (syntmp-binding-type-94 syntmp-b-1257))) (if (memv syntmp-t-1258 (quote (lexical))) (syntmp-build-annotated-81 syntmp-s-1246 (list (quote set!) (syntmp-binding-value-95 syntmp-b-1257) syntmp-val-1255)) (if (memv syntmp-t-1258 (quote (global))) (syntmp-build-annotated-81 syntmp-s-1246 (list (quote set!) syntmp-n-1256 syntmp-val-1255)) (if (memv syntmp-t-1258 (quote (displaced-lexical))) (syntax-error (syntmp-wrap-130 syntmp-id-1253 syntmp-w-1245) "identifier out of context") (syntax-error (syntmp-source-wrap-131 syntmp-e-1243 syntmp-w-1245 syntmp-s-1246))))))))) syntmp-tmp-1248) ((lambda (syntmp-tmp-1259) (if syntmp-tmp-1259 (apply (lambda (syntmp-_-1260 syntmp-getter-1261 syntmp-arg-1262 syntmp-val-1263) (syntmp-build-annotated-81 syntmp-s-1246 (cons (syntmp-chi-138 (list (quote #(syntax-object setter ((top) #(ribcage #(_ getter arg val) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(e r w s) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) syntmp-getter-1261) syntmp-r-1244 syntmp-w-1245) (map (lambda (syntmp-e-1264) (syntmp-chi-138 syntmp-e-1264 syntmp-r-1244 syntmp-w-1245)) (append syntmp-arg-1262 (list syntmp-val-1263)))))) syntmp-tmp-1259) ((lambda (syntmp-_-1266) (syntax-error (syntmp-source-wrap-131 syntmp-e-1243 syntmp-w-1245 syntmp-s-1246))) syntmp-tmp-1247))) (syntax-dispatch syntmp-tmp-1247 (quote (any (any . each-any) any)))))) (syntax-dispatch syntmp-tmp-1247 (quote (any any any))))) syntmp-e-1243))) (syntmp-global-extend-100 (quote begin) (quote begin) (quote ())) (syntmp-global-extend-100 (quote define) (quote define) (quote ())) (syntmp-global-extend-100 (quote define-syntax) (quote define-syntax) (quote ())) (syntmp-global-extend-100 (quote eval-when) (quote eval-when) (quote ())) (syntmp-global-extend-100 (quote core) (quote syntax-case) (letrec ((syntmp-gen-syntax-case-1270 (lambda (syntmp-x-1271 syntmp-keys-1272 syntmp-clauses-1273 syntmp-r-1274) (if (null? syntmp-clauses-1273) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote syntax-error)) syntmp-x-1271)) ((lambda (syntmp-tmp-1275) ((lambda (syntmp-tmp-1276) (if syntmp-tmp-1276 (apply (lambda (syntmp-pat-1277 syntmp-exp-1278) (if (and (syntmp-id?-102 syntmp-pat-1277) (andmap (lambda (syntmp-x-1279) (not (syntmp-free-id=?-125 syntmp-pat-1277 syntmp-x-1279))) (cons (quote #(syntax-object ... ((top) #(ribcage #(pat exp) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x keys clauses r) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage (gen-syntax-case gen-clause build-dispatch-call convert-pattern) ((top) (top) (top) (top)) ("i" "i" "i" "i")) #(ribcage (lambda-var-list gen-var strip strip-annotation ellipsis? chi-void eval-local-transformer chi-local-syntax chi-lambda-clause chi-body chi-macro chi-application chi-expr chi chi-top syntax-type chi-when-list chi-install-global chi-top-sequence chi-sequence source-wrap wrap bound-id-member? distinct-bound-ids? valid-bound-ids? bound-id=? free-id=? id-var-name same-marks? join-marks join-wraps smart-append make-binding-wrap extend-ribcage! make-empty-ribcage new-mark anti-mark the-anti-mark top-marked? top-wrap empty-wrap set-ribcage-labels! set-ribcage-marks! set-ribcage-symnames! ribcage-labels ribcage-marks ribcage-symnames ribcage? make-ribcage gen-labels gen-label make-rename rename-marks rename-new rename-old subst-rename? wrap-subst wrap-marks make-wrap id-sym-name&marks id-sym-name id? nonsymbol-id? global-extend lookup macros-only-env extend-var-env extend-env null-env binding-value binding-type make-binding arg-check source-annotation no-source unannotate set-syntax-object-wrap! set-syntax-object-expression! syntax-object-wrap syntax-object-expression syntax-object? make-syntax-object build-lexical-var build-letrec build-named-let build-let build-sequence build-data build-primref build-lambda build-global-definition build-global-assignment build-global-reference build-lexical-assignment build-lexical-reference build-conditional build-application build-annotated get-global-definition-hook put-global-definition-hook gensym-hook error-hook local-eval-hook top-level-eval-hook fx< fx= fx- fx+ noexpand) ((top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top) (top)) ("i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i" "i")) #(ribcage (define-structure) ((top)) ("i"))))) syntmp-keys-1272))) (let ((syntmp-labels-1280 (list (syntmp-gen-label-107))) (syntmp-var-1281 (syntmp-gen-var-150 syntmp-pat-1277))) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (list (quote lambda) (list syntmp-var-1281) (syntmp-chi-138 syntmp-exp-1278 (syntmp-extend-env-96 syntmp-labels-1280 (list (cons (quote syntax) (cons syntmp-var-1281 0))) syntmp-r-1274) (syntmp-make-binding-wrap-119 (list syntmp-pat-1277) syntmp-labels-1280 (quote (())))))) syntmp-x-1271))) (syntmp-gen-clause-1269 syntmp-x-1271 syntmp-keys-1272 (cdr syntmp-clauses-1273) syntmp-r-1274 syntmp-pat-1277 #t syntmp-exp-1278))) syntmp-tmp-1276) ((lambda (syntmp-tmp-1282) (if syntmp-tmp-1282 (apply (lambda (syntmp-pat-1283 syntmp-fender-1284 syntmp-exp-1285) (syntmp-gen-clause-1269 syntmp-x-1271 syntmp-keys-1272 (cdr syntmp-clauses-1273) syntmp-r-1274 syntmp-pat-1283 syntmp-fender-1284 syntmp-exp-1285)) syntmp-tmp-1282) ((lambda (syntmp-_-1286) (syntax-error (car syntmp-clauses-1273) "invalid syntax-case clause")) syntmp-tmp-1275))) (syntax-dispatch syntmp-tmp-1275 (quote (any any any)))))) (syntax-dispatch syntmp-tmp-1275 (quote (any any))))) (car syntmp-clauses-1273))))) (syntmp-gen-clause-1269 (lambda (syntmp-x-1287 syntmp-keys-1288 syntmp-clauses-1289 syntmp-r-1290 syntmp-pat-1291 syntmp-fender-1292 syntmp-exp-1293) (call-with-values (lambda () (syntmp-convert-pattern-1267 syntmp-pat-1291 syntmp-keys-1288)) (lambda (syntmp-p-1294 syntmp-pvars-1295) (cond ((not (syntmp-distinct-bound-ids?-128 (map car syntmp-pvars-1295))) (syntax-error syntmp-pat-1291 "duplicate pattern variable in syntax-case pattern")) ((not (andmap (lambda (syntmp-x-1296) (not (syntmp-ellipsis?-147 (car syntmp-x-1296)))) syntmp-pvars-1295)) (syntax-error syntmp-pat-1291 "misplaced ellipsis in syntax-case pattern")) (else (let ((syntmp-y-1297 (syntmp-gen-var-150 (quote tmp)))) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (list (quote lambda) (list syntmp-y-1297) (let ((syntmp-y-1298 (syntmp-build-annotated-81 #f syntmp-y-1297))) (syntmp-build-annotated-81 #f (list (quote if) ((lambda (syntmp-tmp-1299) ((lambda (syntmp-tmp-1300) (if syntmp-tmp-1300 (apply (lambda () syntmp-y-1298) syntmp-tmp-1300) ((lambda (syntmp-_-1301) (syntmp-build-annotated-81 #f (list (quote if) syntmp-y-1298 (syntmp-build-dispatch-call-1268 syntmp-pvars-1295 syntmp-fender-1292 syntmp-y-1298 syntmp-r-1290) (syntmp-build-data-82 #f #f)))) syntmp-tmp-1299))) (syntax-dispatch syntmp-tmp-1299 (quote #(atom #t))))) syntmp-fender-1292) (syntmp-build-dispatch-call-1268 syntmp-pvars-1295 syntmp-exp-1293 syntmp-y-1298 syntmp-r-1290) (syntmp-gen-syntax-case-1270 syntmp-x-1287 syntmp-keys-1288 syntmp-clauses-1289 syntmp-r-1290)))))) (if (eq? syntmp-p-1294 (quote any)) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote list)) syntmp-x-1287)) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote syntax-dispatch)) syntmp-x-1287 (syntmp-build-data-82 #f syntmp-p-1294))))))))))))) (syntmp-build-dispatch-call-1268 (lambda (syntmp-pvars-1302 syntmp-exp-1303 syntmp-y-1304 syntmp-r-1305) (let ((syntmp-ids-1306 (map car syntmp-pvars-1302)) (syntmp-levels-1307 (map cdr syntmp-pvars-1302))) (let ((syntmp-labels-1308 (syntmp-gen-labels-108 syntmp-ids-1306)) (syntmp-new-vars-1309 (map syntmp-gen-var-150 syntmp-ids-1306))) (syntmp-build-annotated-81 #f (list (syntmp-build-annotated-81 #f (quote apply)) (syntmp-build-annotated-81 #f (list (quote lambda) syntmp-new-vars-1309 (syntmp-chi-138 syntmp-exp-1303 (syntmp-extend-env-96 syntmp-labels-1308 (map (lambda (syntmp-var-1310 syntmp-level-1311) (cons (quote syntax) (cons syntmp-var-1310 syntmp-level-1311))) syntmp-new-vars-1309 (map cdr syntmp-pvars-1302)) syntmp-r-1305) (syntmp-make-binding-wrap-119 syntmp-ids-1306 syntmp-labels-1308 (quote (())))))) syntmp-y-1304)))))) (syntmp-convert-pattern-1267 (lambda (syntmp-pattern-1312 syntmp-keys-1313) (let syntmp-cvt-1314 ((syntmp-p-1315 syntmp-pattern-1312) (syntmp-n-1316 0) (syntmp-ids-1317 (quote ()))) (if (syntmp-id?-102 syntmp-p-1315) (if (syntmp-bound-id-member?-129 syntmp-p-1315 syntmp-keys-1313) (values (vector (quote free-id) syntmp-p-1315) syntmp-ids-1317) (values (quote any) (cons (cons syntmp-p-1315 syntmp-n-1316) syntmp-ids-1317))) ((lambda (syntmp-tmp-1318) ((lambda (syntmp-tmp-1319) (if (if syntmp-tmp-1319 (apply (lambda (syntmp-x-1320 syntmp-dots-1321) (syntmp-ellipsis?-147 syntmp-dots-1321)) syntmp-tmp-1319) #f) (apply (lambda (syntmp-x-1322 syntmp-dots-1323) (call-with-values (lambda () (syntmp-cvt-1314 syntmp-x-1322 (syntmp-fx+-72 syntmp-n-1316 1) syntmp-ids-1317)) (lambda (syntmp-p-1324 syntmp-ids-1325) (values (if (eq? syntmp-p-1324 (quote any)) (quote each-any) (vector (quote each) syntmp-p-1324)) syntmp-ids-1325)))) syntmp-tmp-1319) ((lambda (syntmp-tmp-1326) (if syntmp-tmp-1326 (apply (lambda (syntmp-x-1327 syntmp-y-1328) (call-with-values (lambda () (syntmp-cvt-1314 syntmp-y-1328 syntmp-n-1316 syntmp-ids-1317)) (lambda (syntmp-y-1329 syntmp-ids-1330) (call-with-values (lambda () (syntmp-cvt-1314 syntmp-x-1327 syntmp-n-1316 syntmp-ids-1330)) (lambda (syntmp-x-1331 syntmp-ids-1332) (values (cons syntmp-x-1331 syntmp-y-1329) syntmp-ids-1332)))))) syntmp-tmp-1326) ((lambda (syntmp-tmp-1333) (if syntmp-tmp-1333 (apply (lambda () (values (quote ()) syntmp-ids-1317)) syntmp-tmp-1333) ((lambda (syntmp-tmp-1334) (if syntmp-tmp-1334 (apply (lambda (syntmp-x-1335) (call-with-values (lambda () (syntmp-cvt-1314 syntmp-x-1335 syntmp-n-1316 syntmp-ids-1317)) (lambda (syntmp-p-1337 syntmp-ids-1338) (values (vector (quote vector) syntmp-p-1337) syntmp-ids-1338)))) syntmp-tmp-1334) ((lambda (syntmp-x-1339) (values (vector (quote atom) (syntmp-strip-149 syntmp-p-1315 (quote (())))) syntmp-ids-1317)) syntmp-tmp-1318))) (syntax-dispatch syntmp-tmp-1318 (quote #(vector each-any)))))) (syntax-dispatch syntmp-tmp-1318 (quote ()))))) (syntax-dispatch syntmp-tmp-1318 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1318 (quote (any any))))) syntmp-p-1315)))))) (lambda (syntmp-e-1340 syntmp-r-1341 syntmp-w-1342 syntmp-s-1343) (let ((syntmp-e-1344 (syntmp-source-wrap-131 syntmp-e-1340 syntmp-w-1342 syntmp-s-1343))) ((lambda (syntmp-tmp-1345) ((lambda (syntmp-tmp-1346) (if syntmp-tmp-1346 (apply (lambda (syntmp-_-1347 syntmp-val-1348 syntmp-key-1349 syntmp-m-1350) (if (andmap (lambda (syntmp-x-1351) (and (syntmp-id?-102 syntmp-x-1351) (not (syntmp-ellipsis?-147 syntmp-x-1351)))) syntmp-key-1349) (let ((syntmp-x-1353 (syntmp-gen-var-150 (quote tmp)))) (syntmp-build-annotated-81 syntmp-s-1343 (list (syntmp-build-annotated-81 #f (list (quote lambda) (list syntmp-x-1353) (syntmp-gen-syntax-case-1270 (syntmp-build-annotated-81 #f syntmp-x-1353) syntmp-key-1349 syntmp-m-1350 syntmp-r-1341))) (syntmp-chi-138 syntmp-val-1348 syntmp-r-1341 (quote (())))))) (syntax-error syntmp-e-1344 "invalid literals list in"))) syntmp-tmp-1346) (syntax-error syntmp-tmp-1345))) (syntax-dispatch syntmp-tmp-1345 (quote (any any each-any . each-any))))) syntmp-e-1344))))) (set! sc-expand (let ((syntmp-m-1356 (quote e)) (syntmp-esew-1357 (quote (eval)))) (lambda (syntmp-x-1358) (if (and (pair? syntmp-x-1358) (equal? (car syntmp-x-1358) syntmp-noexpand-71)) (cadr syntmp-x-1358) (syntmp-chi-top-137 syntmp-x-1358 (quote ()) (quote ((top))) syntmp-m-1356 syntmp-esew-1357))))) (set! sc-expand3 (let ((syntmp-m-1359 (quote e)) (syntmp-esew-1360 (quote (eval)))) (lambda (syntmp-x-1362 . syntmp-rest-1361) (if (and (pair? syntmp-x-1362) (equal? (car syntmp-x-1362) syntmp-noexpand-71)) (cadr syntmp-x-1362) (syntmp-chi-top-137 syntmp-x-1362 (quote ()) (quote ((top))) (if (null? syntmp-rest-1361) syntmp-m-1359 (car syntmp-rest-1361)) (if (or (null? syntmp-rest-1361) (null? (cdr syntmp-rest-1361))) syntmp-esew-1360 (cadr syntmp-rest-1361))))))) (set! identifier? (lambda (syntmp-x-1363) (syntmp-nonsymbol-id?-101 syntmp-x-1363))) (set! datum->syntax-object (lambda (syntmp-id-1364 syntmp-datum-1365) (syntmp-make-syntax-object-87 syntmp-datum-1365 (syntmp-syntax-object-wrap-90 syntmp-id-1364)))) (set! syntax-object->datum (lambda (syntmp-x-1366) (syntmp-strip-149 syntmp-x-1366 (quote (()))))) (set! generate-temporaries (lambda (syntmp-ls-1367) (begin (let ((syntmp-x-1368 syntmp-ls-1367)) (if (not (list? syntmp-x-1368)) (syntmp-error-hook-78 (quote generate-temporaries) "invalid argument" syntmp-x-1368))) (map (lambda (syntmp-x-1369) (syntmp-wrap-130 (gensym) (quote ((top))))) syntmp-ls-1367)))) (set! free-identifier=? (lambda (syntmp-x-1370 syntmp-y-1371) (begin (let ((syntmp-x-1372 syntmp-x-1370)) (if (not (syntmp-nonsymbol-id?-101 syntmp-x-1372)) (syntmp-error-hook-78 (quote free-identifier=?) "invalid argument" syntmp-x-1372))) (let ((syntmp-x-1373 syntmp-y-1371)) (if (not (syntmp-nonsymbol-id?-101 syntmp-x-1373)) (syntmp-error-hook-78 (quote free-identifier=?) "invalid argument" syntmp-x-1373))) (syntmp-free-id=?-125 syntmp-x-1370 syntmp-y-1371)))) (set! bound-identifier=? (lambda (syntmp-x-1374 syntmp-y-1375) (begin (let ((syntmp-x-1376 syntmp-x-1374)) (if (not (syntmp-nonsymbol-id?-101 syntmp-x-1376)) (syntmp-error-hook-78 (quote bound-identifier=?) "invalid argument" syntmp-x-1376))) (let ((syntmp-x-1377 syntmp-y-1375)) (if (not (syntmp-nonsymbol-id?-101 syntmp-x-1377)) (syntmp-error-hook-78 (quote bound-identifier=?) "invalid argument" syntmp-x-1377))) (syntmp-bound-id=?-126 syntmp-x-1374 syntmp-y-1375)))) (set! syntax-error (lambda (syntmp-object-1379 . syntmp-messages-1378) (begin (for-each (lambda (syntmp-x-1380) (let ((syntmp-x-1381 syntmp-x-1380)) (if (not (string? syntmp-x-1381)) (syntmp-error-hook-78 (quote syntax-error) "invalid argument" syntmp-x-1381)))) syntmp-messages-1378) (let ((syntmp-message-1382 (if (null? syntmp-messages-1378) "invalid syntax" (apply string-append syntmp-messages-1378)))) (syntmp-error-hook-78 #f syntmp-message-1382 (syntmp-strip-149 syntmp-object-1379 (quote (())))))))) (set! install-global-transformer (lambda (syntmp-sym-1383 syntmp-v-1384) (begin (let ((syntmp-x-1385 syntmp-sym-1383)) (if (not (symbol? syntmp-x-1385)) (syntmp-error-hook-78 (quote define-syntax) "invalid argument" syntmp-x-1385))) (let ((syntmp-x-1386 syntmp-v-1384)) (if (not (procedure? syntmp-x-1386)) (syntmp-error-hook-78 (quote define-syntax) "invalid argument" syntmp-x-1386))) (syntmp-global-extend-100 (quote macro) syntmp-sym-1383 syntmp-v-1384)))) (letrec ((syntmp-match-1391 (lambda (syntmp-e-1392 syntmp-p-1393 syntmp-w-1394 syntmp-r-1395) (cond ((not syntmp-r-1395) #f) ((eq? syntmp-p-1393 (quote any)) (cons (syntmp-wrap-130 syntmp-e-1392 syntmp-w-1394) syntmp-r-1395)) ((syntmp-syntax-object?-88 syntmp-e-1392) (syntmp-match*-1390 (let ((syntmp-e-1396 (syntmp-syntax-object-expression-89 syntmp-e-1392))) (if (annotation? syntmp-e-1396) (annotation-expression syntmp-e-1396) syntmp-e-1396)) syntmp-p-1393 (syntmp-join-wraps-121 syntmp-w-1394 (syntmp-syntax-object-wrap-90 syntmp-e-1392)) syntmp-r-1395)) (else (syntmp-match*-1390 (let ((syntmp-e-1397 syntmp-e-1392)) (if (annotation? syntmp-e-1397) (annotation-expression syntmp-e-1397) syntmp-e-1397)) syntmp-p-1393 syntmp-w-1394 syntmp-r-1395))))) (syntmp-match*-1390 (lambda (syntmp-e-1398 syntmp-p-1399 syntmp-w-1400 syntmp-r-1401) (cond ((null? syntmp-p-1399) (and (null? syntmp-e-1398) syntmp-r-1401)) ((pair? syntmp-p-1399) (and (pair? syntmp-e-1398) (syntmp-match-1391 (car syntmp-e-1398) (car syntmp-p-1399) syntmp-w-1400 (syntmp-match-1391 (cdr syntmp-e-1398) (cdr syntmp-p-1399) syntmp-w-1400 syntmp-r-1401)))) ((eq? syntmp-p-1399 (quote each-any)) (let ((syntmp-l-1402 (syntmp-match-each-any-1388 syntmp-e-1398 syntmp-w-1400))) (and syntmp-l-1402 (cons syntmp-l-1402 syntmp-r-1401)))) (else (let ((syntmp-t-1403 (vector-ref syntmp-p-1399 0))) (if (memv syntmp-t-1403 (quote (each))) (if (null? syntmp-e-1398) (syntmp-match-empty-1389 (vector-ref syntmp-p-1399 1) syntmp-r-1401) (let ((syntmp-l-1404 (syntmp-match-each-1387 syntmp-e-1398 (vector-ref syntmp-p-1399 1) syntmp-w-1400))) (and syntmp-l-1404 (let syntmp-collect-1405 ((syntmp-l-1406 syntmp-l-1404)) (if (null? (car syntmp-l-1406)) syntmp-r-1401 (cons (map car syntmp-l-1406) (syntmp-collect-1405 (map cdr syntmp-l-1406)))))))) (if (memv syntmp-t-1403 (quote (free-id))) (and (syntmp-id?-102 syntmp-e-1398) (syntmp-free-id=?-125 (syntmp-wrap-130 syntmp-e-1398 syntmp-w-1400) (vector-ref syntmp-p-1399 1)) syntmp-r-1401) (if (memv syntmp-t-1403 (quote (atom))) (and (equal? (vector-ref syntmp-p-1399 1) (syntmp-strip-149 syntmp-e-1398 syntmp-w-1400)) syntmp-r-1401) (if (memv syntmp-t-1403 (quote (vector))) (and (vector? syntmp-e-1398) (syntmp-match-1391 (vector->list syntmp-e-1398) (vector-ref syntmp-p-1399 1) syntmp-w-1400 syntmp-r-1401))))))))))) (syntmp-match-empty-1389 (lambda (syntmp-p-1407 syntmp-r-1408) (cond ((null? syntmp-p-1407) syntmp-r-1408) ((eq? syntmp-p-1407 (quote any)) (cons (quote ()) syntmp-r-1408)) ((pair? syntmp-p-1407) (syntmp-match-empty-1389 (car syntmp-p-1407) (syntmp-match-empty-1389 (cdr syntmp-p-1407) syntmp-r-1408))) ((eq? syntmp-p-1407 (quote each-any)) (cons (quote ()) syntmp-r-1408)) (else (let ((syntmp-t-1409 (vector-ref syntmp-p-1407 0))) (if (memv syntmp-t-1409 (quote (each))) (syntmp-match-empty-1389 (vector-ref syntmp-p-1407 1) syntmp-r-1408) (if (memv syntmp-t-1409 (quote (free-id atom))) syntmp-r-1408 (if (memv syntmp-t-1409 (quote (vector))) (syntmp-match-empty-1389 (vector-ref syntmp-p-1407 1) syntmp-r-1408))))))))) (syntmp-match-each-any-1388 (lambda (syntmp-e-1410 syntmp-w-1411) (cond ((annotation? syntmp-e-1410) (syntmp-match-each-any-1388 (annotation-expression syntmp-e-1410) syntmp-w-1411)) ((pair? syntmp-e-1410) (let ((syntmp-l-1412 (syntmp-match-each-any-1388 (cdr syntmp-e-1410) syntmp-w-1411))) (and syntmp-l-1412 (cons (syntmp-wrap-130 (car syntmp-e-1410) syntmp-w-1411) syntmp-l-1412)))) ((null? syntmp-e-1410) (quote ())) ((syntmp-syntax-object?-88 syntmp-e-1410) (syntmp-match-each-any-1388 (syntmp-syntax-object-expression-89 syntmp-e-1410) (syntmp-join-wraps-121 syntmp-w-1411 (syntmp-syntax-object-wrap-90 syntmp-e-1410)))) (else #f)))) (syntmp-match-each-1387 (lambda (syntmp-e-1413 syntmp-p-1414 syntmp-w-1415) (cond ((annotation? syntmp-e-1413) (syntmp-match-each-1387 (annotation-expression syntmp-e-1413) syntmp-p-1414 syntmp-w-1415)) ((pair? syntmp-e-1413) (let ((syntmp-first-1416 (syntmp-match-1391 (car syntmp-e-1413) syntmp-p-1414 syntmp-w-1415 (quote ())))) (and syntmp-first-1416 (let ((syntmp-rest-1417 (syntmp-match-each-1387 (cdr syntmp-e-1413) syntmp-p-1414 syntmp-w-1415))) (and syntmp-rest-1417 (cons syntmp-first-1416 syntmp-rest-1417)))))) ((null? syntmp-e-1413) (quote ())) ((syntmp-syntax-object?-88 syntmp-e-1413) (syntmp-match-each-1387 (syntmp-syntax-object-expression-89 syntmp-e-1413) syntmp-p-1414 (syntmp-join-wraps-121 syntmp-w-1415 (syntmp-syntax-object-wrap-90 syntmp-e-1413)))) (else #f))))) (begin (set! syntax-dispatch (lambda (syntmp-e-1418 syntmp-p-1419) (cond ((eq? syntmp-p-1419 (quote any)) (list syntmp-e-1418)) ((syntmp-syntax-object?-88 syntmp-e-1418) (syntmp-match*-1390 (let ((syntmp-e-1420 (syntmp-syntax-object-expression-89 syntmp-e-1418))) (if (annotation? syntmp-e-1420) (annotation-expression syntmp-e-1420) syntmp-e-1420)) syntmp-p-1419 (syntmp-syntax-object-wrap-90 syntmp-e-1418) (quote ()))) (else (syntmp-match*-1390 (let ((syntmp-e-1421 syntmp-e-1418)) (if (annotation? syntmp-e-1421) (annotation-expression syntmp-e-1421) syntmp-e-1421)) syntmp-p-1419 (quote (())) (quote ())))))) (set! sc-chi syntmp-chi-138)))))
+(install-global-transformer (quote with-syntax) (lambda (syntmp-x-1422) ((lambda (syntmp-tmp-1423) ((lambda (syntmp-tmp-1424) (if syntmp-tmp-1424 (apply (lambda (syntmp-_-1425 syntmp-e1-1426 syntmp-e2-1427) (cons (quote #(syntax-object begin ((top) #(ribcage #(_ e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1426 syntmp-e2-1427))) syntmp-tmp-1424) ((lambda (syntmp-tmp-1429) (if syntmp-tmp-1429 (apply (lambda (syntmp-_-1430 syntmp-out-1431 syntmp-in-1432 syntmp-e1-1433 syntmp-e2-1434) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-in-1432 (quote ()) (list syntmp-out-1431 (cons (quote #(syntax-object begin ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1433 syntmp-e2-1434))))) syntmp-tmp-1429) ((lambda (syntmp-tmp-1436) (if syntmp-tmp-1436 (apply (lambda (syntmp-_-1437 syntmp-out-1438 syntmp-in-1439 syntmp-e1-1440 syntmp-e2-1441) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote #(syntax-object list ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-in-1439) (quote ()) (list syntmp-out-1438 (cons (quote #(syntax-object begin ((top) #(ribcage #(_ out in e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1440 syntmp-e2-1441))))) syntmp-tmp-1436) (syntax-error syntmp-tmp-1423))) (syntax-dispatch syntmp-tmp-1423 (quote (any #(each (any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1423 (quote (any ((any any)) any . each-any)))))) (syntax-dispatch syntmp-tmp-1423 (quote (any () any . each-any))))) syntmp-x-1422)))
+(install-global-transformer (quote syntax-rules) (lambda (syntmp-x-1463) ((lambda (syntmp-tmp-1464) ((lambda (syntmp-tmp-1465) (if syntmp-tmp-1465 (apply (lambda (syntmp-_-1466 syntmp-k-1467 syntmp-keyword-1468 syntmp-pattern-1469 syntmp-template-1470) (list (quote #(syntax-object lambda ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object x ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))) (cons (quote #(syntax-object syntax-case ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote #(syntax-object x ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-k-1467 (map (lambda (syntmp-tmp-1473 syntmp-tmp-1472) (list (cons (quote #(syntax-object dummy ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-tmp-1472) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ k keyword pattern template) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-tmp-1473))) syntmp-template-1470 syntmp-pattern-1469)))))) syntmp-tmp-1465) (syntax-error syntmp-tmp-1464))) (syntax-dispatch syntmp-tmp-1464 (quote (any each-any . #(each ((any . any) any))))))) syntmp-x-1463)))
+(install-global-transformer (quote let*) (lambda (syntmp-x-1484) ((lambda (syntmp-tmp-1485) ((lambda (syntmp-tmp-1486) (if (if syntmp-tmp-1486 (apply (lambda (syntmp-let*-1487 syntmp-x-1488 syntmp-v-1489 syntmp-e1-1490 syntmp-e2-1491) (andmap identifier? syntmp-x-1488)) syntmp-tmp-1486) #f) (apply (lambda (syntmp-let*-1493 syntmp-x-1494 syntmp-v-1495 syntmp-e1-1496 syntmp-e2-1497) (let syntmp-f-1498 ((syntmp-bindings-1499 (map list syntmp-x-1494 syntmp-v-1495))) (if (null? syntmp-bindings-1499) (cons (quote #(syntax-object let ((top) #(ribcage () () ()) #(ribcage #(f bindings) #((top) (top)) #("i" "i")) #(ribcage #(let* x v e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons (quote ()) (cons syntmp-e1-1496 syntmp-e2-1497))) ((lambda (syntmp-tmp-1503) ((lambda (syntmp-tmp-1504) (if syntmp-tmp-1504 (apply (lambda (syntmp-body-1505 syntmp-binding-1506) (list (quote #(syntax-object let ((top) #(ribcage #(body binding) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(f bindings) #((top) (top)) #("i" "i")) #(ribcage #(let* x v e1 e2) #((top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list syntmp-binding-1506) syntmp-body-1505)) syntmp-tmp-1504) (syntax-error syntmp-tmp-1503))) (syntax-dispatch syntmp-tmp-1503 (quote (any any))))) (list (syntmp-f-1498 (cdr syntmp-bindings-1499)) (car syntmp-bindings-1499)))))) syntmp-tmp-1486) (syntax-error syntmp-tmp-1485))) (syntax-dispatch syntmp-tmp-1485 (quote (any #(each (any any)) any . each-any))))) syntmp-x-1484)))
+(install-global-transformer (quote do) (lambda (syntmp-orig-x-1526) ((lambda (syntmp-tmp-1527) ((lambda (syntmp-tmp-1528) (if syntmp-tmp-1528 (apply (lambda (syntmp-_-1529 syntmp-var-1530 syntmp-init-1531 syntmp-step-1532 syntmp-e0-1533 syntmp-e1-1534 syntmp-c-1535) ((lambda (syntmp-tmp-1536) ((lambda (syntmp-tmp-1537) (if syntmp-tmp-1537 (apply (lambda (syntmp-step-1538) ((lambda (syntmp-tmp-1539) ((lambda (syntmp-tmp-1540) (if syntmp-tmp-1540 (apply (lambda () (list (quote #(syntax-object let ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (quote #(syntax-object doloop ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (map list syntmp-var-1530 syntmp-init-1531) (list (quote #(syntax-object if ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (list (quote #(syntax-object not ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-e0-1533) (cons (quote #(syntax-object begin ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (append syntmp-c-1535 (list (cons (quote #(syntax-object doloop ((top) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-step-1538))))))) syntmp-tmp-1540) ((lambda (syntmp-tmp-1545) (if syntmp-tmp-1545 (apply (lambda (syntmp-e1-1546 syntmp-e2-1547) (list (quote #(syntax-object let ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (quote #(syntax-object doloop ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (map list syntmp-var-1530 syntmp-init-1531) (list (quote #(syntax-object if ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-e0-1533 (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (cons syntmp-e1-1546 syntmp-e2-1547)) (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) (append syntmp-c-1535 (list (cons (quote #(syntax-object doloop ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage #(step) #((top)) #("i")) #(ribcage #(_ var init step e0 e1 c) #((top) (top) (top) (top) (top) (top) (top)) #("i" "i" "i" "i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(orig-x) #((top)) #("i"))))) syntmp-step-1538))))))) syntmp-tmp-1545) (syntax-error syntmp-tmp-1539))) (syntax-dispatch syntmp-tmp-1539 (quote (any . each-any)))))) (syntax-dispatch syntmp-tmp-1539 (quote ())))) syntmp-e1-1534)) syntmp-tmp-1537) (syntax-error syntmp-tmp-1536))) (syntax-dispatch syntmp-tmp-1536 (quote each-any)))) (map (lambda (syntmp-v-1554 syntmp-s-1555) ((lambda (syntmp-tmp-1556) ((lambda (syntmp-tmp-1557) (if syntmp-tmp-1557 (apply (lambda () syntmp-v-1554) syntmp-tmp-1557) ((lambda (syntmp-tmp-1558) (if syntmp-tmp-1558 (apply (lambda (syntmp-e-1559) syntmp-e-1559) syntmp-tmp-1558) ((lambda (syntmp-_-1560) (syntax-error syntmp-orig-x-1526)) syntmp-tmp-1556))) (syntax-dispatch syntmp-tmp-1556 (quote (any)))))) (syntax-dispatch syntmp-tmp-1556 (quote ())))) syntmp-s-1555)) syntmp-var-1530 syntmp-step-1532))) syntmp-tmp-1528) (syntax-error syntmp-tmp-1527))) (syntax-dispatch syntmp-tmp-1527 (quote (any #(each (any any . any)) (any . each-any) . each-any))))) syntmp-orig-x-1526)))
+(install-global-transformer (quote quasiquote) (letrec ((syntmp-quasicons-1588 (lambda (syntmp-x-1592 syntmp-y-1593) ((lambda (syntmp-tmp-1594) ((lambda (syntmp-tmp-1595) (if syntmp-tmp-1595 (apply (lambda (syntmp-x-1596 syntmp-y-1597) ((lambda (syntmp-tmp-1598) ((lambda (syntmp-tmp-1599) (if syntmp-tmp-1599 (apply (lambda (syntmp-dy-1600) ((lambda (syntmp-tmp-1601) ((lambda (syntmp-tmp-1602) (if syntmp-tmp-1602 (apply (lambda (syntmp-dx-1603) (list (quote #(syntax-object quote ((top) #(ribcage #(dx) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (cons syntmp-dx-1603 syntmp-dy-1600))) syntmp-tmp-1602) ((lambda (syntmp-_-1604) (if (null? syntmp-dy-1600) (list (quote #(syntax-object list ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1596) (list (quote #(syntax-object cons ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1596 syntmp-y-1597))) syntmp-tmp-1601))) (syntax-dispatch syntmp-tmp-1601 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(dy) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-x-1596)) syntmp-tmp-1599) ((lambda (syntmp-tmp-1605) (if syntmp-tmp-1605 (apply (lambda (syntmp-stuff-1606) (cons (quote #(syntax-object list ((top) #(ribcage #(stuff) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (cons syntmp-x-1596 syntmp-stuff-1606))) syntmp-tmp-1605) ((lambda (syntmp-else-1607) (list (quote #(syntax-object cons ((top) #(ribcage #(else) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1596 syntmp-y-1597)) syntmp-tmp-1598))) (syntax-dispatch syntmp-tmp-1598 (quote (#(free-id #(syntax-object list ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) . any)))))) (syntax-dispatch syntmp-tmp-1598 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-y-1597)) syntmp-tmp-1595) (syntax-error syntmp-tmp-1594))) (syntax-dispatch syntmp-tmp-1594 (quote (any any))))) (list syntmp-x-1592 syntmp-y-1593)))) (syntmp-quasiappend-1589 (lambda (syntmp-x-1608 syntmp-y-1609) ((lambda (syntmp-tmp-1610) ((lambda (syntmp-tmp-1611) (if syntmp-tmp-1611 (apply (lambda (syntmp-x-1612 syntmp-y-1613) ((lambda (syntmp-tmp-1614) ((lambda (syntmp-tmp-1615) (if syntmp-tmp-1615 (apply (lambda () syntmp-x-1612) syntmp-tmp-1615) ((lambda (syntmp-_-1616) (list (quote #(syntax-object append ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1612 syntmp-y-1613)) syntmp-tmp-1614))) (syntax-dispatch syntmp-tmp-1614 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x y) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) ()))))) syntmp-y-1613)) syntmp-tmp-1611) (syntax-error syntmp-tmp-1610))) (syntax-dispatch syntmp-tmp-1610 (quote (any any))))) (list syntmp-x-1608 syntmp-y-1609)))) (syntmp-quasivector-1590 (lambda (syntmp-x-1617) ((lambda (syntmp-tmp-1618) ((lambda (syntmp-x-1619) ((lambda (syntmp-tmp-1620) ((lambda (syntmp-tmp-1621) (if syntmp-tmp-1621 (apply (lambda (syntmp-x-1622) (list (quote #(syntax-object quote ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) (list->vector syntmp-x-1622))) syntmp-tmp-1621) ((lambda (syntmp-tmp-1624) (if syntmp-tmp-1624 (apply (lambda (syntmp-x-1625) (cons (quote #(syntax-object vector ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1625)) syntmp-tmp-1624) ((lambda (syntmp-_-1627) (list (quote #(syntax-object list->vector ((top) #(ribcage #(_) #((top)) #("i")) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-x-1619)) syntmp-tmp-1620))) (syntax-dispatch syntmp-tmp-1620 (quote (#(free-id #(syntax-object list ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) . each-any)))))) (syntax-dispatch syntmp-tmp-1620 (quote (#(free-id #(syntax-object quote ((top) #(ribcage #(x) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) each-any))))) syntmp-x-1619)) syntmp-tmp-1618)) syntmp-x-1617))) (syntmp-quasi-1591 (lambda (syntmp-p-1628 syntmp-lev-1629) ((lambda (syntmp-tmp-1630) ((lambda (syntmp-tmp-1631) (if syntmp-tmp-1631 (apply (lambda (syntmp-p-1632) (if (= syntmp-lev-1629 0) syntmp-p-1632 (syntmp-quasicons-1588 (quote (#(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object unquote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1591 (list syntmp-p-1632) (- syntmp-lev-1629 1))))) syntmp-tmp-1631) ((lambda (syntmp-tmp-1633) (if syntmp-tmp-1633 (apply (lambda (syntmp-p-1634 syntmp-q-1635) (if (= syntmp-lev-1629 0) (syntmp-quasiappend-1589 syntmp-p-1634 (syntmp-quasi-1591 syntmp-q-1635 syntmp-lev-1629)) (syntmp-quasicons-1588 (syntmp-quasicons-1588 (quote (#(syntax-object quote ((top) #(ribcage #(p q) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object unquote-splicing ((top) #(ribcage #(p q) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1591 (list syntmp-p-1634) (- syntmp-lev-1629 1))) (syntmp-quasi-1591 syntmp-q-1635 syntmp-lev-1629)))) syntmp-tmp-1633) ((lambda (syntmp-tmp-1636) (if syntmp-tmp-1636 (apply (lambda (syntmp-p-1637) (syntmp-quasicons-1588 (quote (#(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))) #(syntax-object quasiquote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i")))))) (syntmp-quasi-1591 (list syntmp-p-1637) (+ syntmp-lev-1629 1)))) syntmp-tmp-1636) ((lambda (syntmp-tmp-1638) (if syntmp-tmp-1638 (apply (lambda (syntmp-p-1639 syntmp-q-1640) (syntmp-quasicons-1588 (syntmp-quasi-1591 syntmp-p-1639 syntmp-lev-1629) (syntmp-quasi-1591 syntmp-q-1640 syntmp-lev-1629))) syntmp-tmp-1638) ((lambda (syntmp-tmp-1641) (if syntmp-tmp-1641 (apply (lambda (syntmp-x-1642) (syntmp-quasivector-1590 (syntmp-quasi-1591 syntmp-x-1642 syntmp-lev-1629))) syntmp-tmp-1641) ((lambda (syntmp-p-1644) (list (quote #(syntax-object quote ((top) #(ribcage #(p) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) syntmp-p-1644)) syntmp-tmp-1630))) (syntax-dispatch syntmp-tmp-1630 (quote #(vector each-any)))))) (syntax-dispatch syntmp-tmp-1630 (quote (any . any)))))) (syntax-dispatch syntmp-tmp-1630 (quote (#(free-id #(syntax-object quasiquote ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any)))))) (syntax-dispatch syntmp-tmp-1630 (quote ((#(free-id #(syntax-object unquote-splicing ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any) . any)))))) (syntax-dispatch syntmp-tmp-1630 (quote (#(free-id #(syntax-object unquote ((top) #(ribcage () () ()) #(ribcage #(p lev) #((top) (top)) #("i" "i")) #(ribcage #(quasicons quasiappend quasivector quasi) #((top) (top) (top) (top)) #("i" "i" "i" "i"))))) any))))) syntmp-p-1628)))) (lambda (syntmp-x-1645) ((lambda (syntmp-tmp-1646) ((lambda (syntmp-tmp-1647) (if syntmp-tmp-1647 (apply (lambda (syntmp-_-1648 syntmp-e-1649) (syntmp-quasi-1591 syntmp-e-1649 0)) syntmp-tmp-1647) (syntax-error syntmp-tmp-1646))) (syntax-dispatch syntmp-tmp-1646 (quote (any any))))) syntmp-x-1645))))
+(install-global-transformer (quote include) (lambda (syntmp-x-1709) (letrec ((syntmp-read-file-1710 (lambda (syntmp-fn-1711 syntmp-k-1712) (let ((syntmp-p-1713 (open-input-file syntmp-fn-1711))) (let syntmp-f-1714 ((syntmp-x-1715 (read syntmp-p-1713))) (if (eof-object? syntmp-x-1715) (begin (close-input-port syntmp-p-1713) (quote ())) (cons (datum->syntax-object syntmp-k-1712 syntmp-x-1715) (syntmp-f-1714 (read syntmp-p-1713))))))))) ((lambda (syntmp-tmp-1716) ((lambda (syntmp-tmp-1717) (if syntmp-tmp-1717 (apply (lambda (syntmp-k-1718 syntmp-filename-1719) (let ((syntmp-fn-1720 (syntax-object->datum syntmp-filename-1719))) ((lambda (syntmp-tmp-1721) ((lambda (syntmp-tmp-1722) (if syntmp-tmp-1722 (apply (lambda (syntmp-exp-1723) (cons (quote #(syntax-object begin ((top) #(ribcage #(exp) #((top)) #("i")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(fn) #((top)) #("i")) #(ribcage #(k filename) #((top) (top)) #("i" "i")) #(ribcage (read-file) ((top)) ("i")) #(ribcage #(x) #((top)) #("i"))))) syntmp-exp-1723)) syntmp-tmp-1722) (syntax-error syntmp-tmp-1721))) (syntax-dispatch syntmp-tmp-1721 (quote each-any)))) (syntmp-read-file-1710 syntmp-fn-1720 syntmp-k-1718)))) syntmp-tmp-1717) (syntax-error syntmp-tmp-1716))) (syntax-dispatch syntmp-tmp-1716 (quote (any any))))) syntmp-x-1709))))
+(install-global-transformer (quote unquote) (lambda (syntmp-x-1740) ((lambda (syntmp-tmp-1741) ((lambda (syntmp-tmp-1742) (if syntmp-tmp-1742 (apply (lambda (syntmp-_-1743 syntmp-e-1744) (error (quote unquote) "expression ,~s not valid outside of quasiquote" (syntax-object->datum syntmp-e-1744))) syntmp-tmp-1742) (syntax-error syntmp-tmp-1741))) (syntax-dispatch syntmp-tmp-1741 (quote (any any))))) syntmp-x-1740)))
+(install-global-transformer (quote unquote-splicing) (lambda (syntmp-x-1750) ((lambda (syntmp-tmp-1751) ((lambda (syntmp-tmp-1752) (if syntmp-tmp-1752 (apply (lambda (syntmp-_-1753 syntmp-e-1754) (error (quote unquote-splicing) "expression ,@~s not valid outside of quasiquote" (syntax-object->datum syntmp-e-1754))) syntmp-tmp-1752) (syntax-error syntmp-tmp-1751))) (syntax-dispatch syntmp-tmp-1751 (quote (any any))))) syntmp-x-1750)))
+(install-global-transformer (quote case) (lambda (syntmp-x-1760) ((lambda (syntmp-tmp-1761) ((lambda (syntmp-tmp-1762) (if syntmp-tmp-1762 (apply (lambda (syntmp-_-1763 syntmp-e-1764 syntmp-m1-1765 syntmp-m2-1766) ((lambda (syntmp-tmp-1767) ((lambda (syntmp-body-1768) (list (quote #(syntax-object let ((top) #(ribcage #(body) #((top)) #("i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (list (quote #(syntax-object t ((top) #(ribcage #(body) #((top)) #("i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-e-1764)) syntmp-body-1768)) syntmp-tmp-1767)) (let syntmp-f-1769 ((syntmp-clause-1770 syntmp-m1-1765) (syntmp-clauses-1771 syntmp-m2-1766)) (if (null? syntmp-clauses-1771) ((lambda (syntmp-tmp-1773) ((lambda (syntmp-tmp-1774) (if syntmp-tmp-1774 (apply (lambda (syntmp-e1-1775 syntmp-e2-1776) (cons (quote #(syntax-object begin ((top) #(ribcage #(e1 e2) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1775 syntmp-e2-1776))) syntmp-tmp-1774) ((lambda (syntmp-tmp-1778) (if syntmp-tmp-1778 (apply (lambda (syntmp-k-1779 syntmp-e1-1780 syntmp-e2-1781) (list (quote #(syntax-object if ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object memv ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object t ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object quote ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-k-1779)) (cons (quote #(syntax-object begin ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1780 syntmp-e2-1781)))) syntmp-tmp-1778) ((lambda (syntmp-_-1784) (syntax-error syntmp-x-1760)) syntmp-tmp-1773))) (syntax-dispatch syntmp-tmp-1773 (quote (each-any any . each-any)))))) (syntax-dispatch syntmp-tmp-1773 (quote (#(free-id #(syntax-object else ((top) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) any . each-any))))) syntmp-clause-1770) ((lambda (syntmp-tmp-1785) ((lambda (syntmp-rest-1786) ((lambda (syntmp-tmp-1787) ((lambda (syntmp-tmp-1788) (if syntmp-tmp-1788 (apply (lambda (syntmp-k-1789 syntmp-e1-1790 syntmp-e2-1791) (list (quote #(syntax-object if ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object memv ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object t ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (list (quote #(syntax-object quote ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-k-1789)) (cons (quote #(syntax-object begin ((top) #(ribcage #(k e1 e2) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(rest) #((top)) #("i")) #(ribcage () () ()) #(ribcage #(f clause clauses) #((top) (top) (top)) #("i" "i" "i")) #(ribcage #(_ e m1 m2) #((top) (top) (top) (top)) #("i" "i" "i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e1-1790 syntmp-e2-1791)) syntmp-rest-1786)) syntmp-tmp-1788) ((lambda (syntmp-_-1794) (syntax-error syntmp-x-1760)) syntmp-tmp-1787))) (syntax-dispatch syntmp-tmp-1787 (quote (each-any any . each-any))))) syntmp-clause-1770)) syntmp-tmp-1785)) (syntmp-f-1769 (car syntmp-clauses-1771) (cdr syntmp-clauses-1771))))))) syntmp-tmp-1762) (syntax-error syntmp-tmp-1761))) (syntax-dispatch syntmp-tmp-1761 (quote (any any any . each-any))))) syntmp-x-1760)))
+(install-global-transformer (quote identifier-syntax) (lambda (syntmp-x-1824) ((lambda (syntmp-tmp-1825) ((lambda (syntmp-tmp-1826) (if syntmp-tmp-1826 (apply (lambda (syntmp-_-1827 syntmp-e-1828) (list (quote #(syntax-object lambda ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))) (list (quote #(syntax-object syntax-case ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote #(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote ()) (list (quote #(syntax-object id ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (quote (#(syntax-object identifier? ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) (#(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object id ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))))) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) syntmp-e-1828)) (list (cons syntmp-_-1827 (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object ... ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))))) (list (quote #(syntax-object syntax ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i"))))) (cons syntmp-e-1828 (quote (#(syntax-object x ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))) #(syntax-object ... ((top) #(ribcage #(_ e) #((top) (top)) #("i" "i")) #(ribcage () () ()) #(ribcage #(x) #((top)) #("i")))))))))))) syntmp-tmp-1826) (syntax-error syntmp-tmp-1825))) (syntax-dispatch syntmp-tmp-1825 (quote (any any))))) syntmp-x-1824)))
diff --git a/module/ice-9/psyntax.scm b/module/ice-9/psyntax.scm
index 50efff50b..225e600d8 100644
--- a/module/ice-9/psyntax.scm
+++ b/module/ice-9/psyntax.scm
@@ -345,86 +345,92 @@
;;; output constructors
-(begin
+(define (build-annotated src exp)
+ (if (and src (not (annotation? exp)))
+ (make-annotation exp src #t)
+ exp))
+
(define-syntax build-application
(syntax-rules ()
((_ source fun-exp arg-exps)
- `(,fun-exp . ,arg-exps))))
+ (build-annotated source `(,fun-exp . ,arg-exps)))))
(define-syntax build-conditional
(syntax-rules ()
((_ source test-exp then-exp else-exp)
- `(if ,test-exp ,then-exp ,else-exp))))
+ (build-annotated source `(if ,test-exp ,then-exp ,else-exp)))))
(define-syntax build-lexical-reference
(syntax-rules ()
((_ type source var)
- var)))
+ (build-annotated source var))))
(define-syntax build-lexical-assignment
(syntax-rules ()
((_ source var exp)
- `(set! ,var ,exp))))
+ (build-annotated source `(set! ,var ,exp)))))
(define-syntax build-global-reference
(syntax-rules ()
((_ source var)
- var)))
+ (build-annotated source var))))
(define-syntax build-global-assignment
(syntax-rules ()
((_ source var exp)
- `(set! ,var ,exp))))
+ (build-annotated source `(set! ,var ,exp)))))
(define-syntax build-global-definition
(syntax-rules ()
((_ source var exp)
- `(define ,var ,exp))))
+ (build-annotated source `(define ,var ,exp)))))
(define-syntax build-lambda
(syntax-rules ()
((_ src vars exp)
- `(lambda ,vars ,exp))))
+ (build-annotated src `(lambda ,vars ,exp)))))
(define-syntax build-primref
(syntax-rules ()
- ((_ src name) name)
- ((_ src level name) name)))
+ ((_ src name) (build-annotated src name))
+ ((_ src level name) (build-annotated src name))))
(define (build-data src exp)
(if (and (self-evaluating? exp)
(not (vector? exp)))
- exp
- (list 'quote exp)))
+ (build-annotated src exp)
+ (build-annotated src (list 'quote exp))))
(define build-sequence
(lambda (src exps)
(if (null? (cdr exps))
- (car exps)
- `(begin ,@exps))))
+ (build-annotated src (car exps))
+ (build-annotated src `(begin ,@exps)))))
(define build-let
(lambda (src vars val-exps body-exp)
(if (null? vars)
- body-exp
- `(let ,(map list vars val-exps) ,body-exp))))
+ (build-annotated src body-exp)
+ (build-annotated src `(let ,(map list vars val-exps) ,body-exp)))))
(define build-named-let
(lambda (src vars val-exps body-exp)
(if (null? vars)
- body-exp
- `(let ,(car vars) ,(map list (cdr vars) val-exps) ,body-exp))))
+ (build-annotated src body-exp)
+ (build-annotated src
+ `(let ,(car vars)
+ ,(map list (cdr vars) val-exps) ,body-exp)))))
(define build-letrec
(lambda (src vars val-exps body-exp)
(if (null? vars)
- body-exp
- `(letrec ,(map list vars val-exps) ,body-exp))))
+ (build-annotated src body-exp)
+ (build-annotated src
+ `(letrec ,(map list vars val-exps) ,body-exp)))))
(define-syntax build-lexical-var
(syntax-rules ()
- ((_ src id) (gensym (symbol->string id)))))
-)
+ ((_ src id) (build-annotated src (gensym (symbol->string id))))))
(define-structure (syntax-object expression wrap))