|
|
@ -5,14 +5,14 @@
|
|
|
|
(define-macro-cases report
|
|
|
|
(define-macro-cases report
|
|
|
|
[(_ EXPR) #'(report EXPR EXPR)]
|
|
|
|
[(_ EXPR) #'(report EXPR EXPR)]
|
|
|
|
[(_ EXPR NAME)
|
|
|
|
[(_ EXPR NAME)
|
|
|
|
#'(let ([expr-result EXPR])
|
|
|
|
#'(let ([expr-result EXPR])
|
|
|
|
(eprintf "~a = ~v\n" 'NAME expr-result)
|
|
|
|
(eprintf "~a = ~v\n" 'NAME expr-result)
|
|
|
|
expr-result)])
|
|
|
|
expr-result)])
|
|
|
|
|
|
|
|
|
|
|
|
(define-macro-cases report-datum
|
|
|
|
(define-macro-cases report-datum
|
|
|
|
[(_ STX-EXPR) #`(report-datum STX-EXPR #,(syntax->datum #'STX-EXPR))]
|
|
|
|
[(_ STX-EXPR) #`(report-datum STX-EXPR #,(syntax->datum #'STX-EXPR))]
|
|
|
|
[(_ STX-EXPR NAME)
|
|
|
|
[(_ STX-EXPR NAME)
|
|
|
|
#'(let ()
|
|
|
|
#'(let ()
|
|
|
|
(eprintf "~a = ~v\n" 'NAME (syntax->datum STX-EXPR))
|
|
|
|
(eprintf "~a = ~v\n" 'NAME (syntax->datum STX-EXPR))
|
|
|
|
STX-EXPR)])
|
|
|
|
STX-EXPR)])
|
|
|
|
|
|
|
|
|
|
|
@ -20,4 +20,4 @@
|
|
|
|
#'(define-macro (MULTI-NAME X (... ...))
|
|
|
|
#'(define-macro (MULTI-NAME X (... ...))
|
|
|
|
#'(begin (NAME X) (... ...))))
|
|
|
|
#'(begin (NAME X) (... ...))))
|
|
|
|
|
|
|
|
|
|
|
|
(define-multi-version report* report)
|
|
|
|
(define-multi-version report* report)
|
|
|
|