|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
(define-struct lex-abbrev (abbrev))
|
|
|
|
(define-struct lex-abbrev (abbrev))
|
|
|
|
|
|
|
|
|
|
|
|
(define-syntax test-block
|
|
|
|
#;(define-syntax test-block
|
|
|
|
(syntax-rules ()
|
|
|
|
(syntax-rules ()
|
|
|
|
((_ defs (code right-ans) ...)
|
|
|
|
((_ defs (code right-ans) ...)
|
|
|
|
(let* defs
|
|
|
|
(let* defs
|
|
|
@ -14,7 +14,7 @@
|
|
|
|
(printf "Test failed: ~e gave ~e. Expected ~e~n"
|
|
|
|
(printf "Test failed: ~e gave ~e. Expected ~e~n"
|
|
|
|
'code real-ans 'right-ans))) ...))))
|
|
|
|
'code real-ans 'right-ans))) ...))))
|
|
|
|
|
|
|
|
|
|
|
|
#;(define-syntax test-block
|
|
|
|
(define-syntax test-block
|
|
|
|
(syntax-rules ()
|
|
|
|
(syntax-rules ()
|
|
|
|
((_ x ...) (void))))
|
|
|
|
((_ x ...) (void))))
|
|
|
|
|
|
|
|
|
|
|
@ -378,4 +378,4 @@
|
|
|
|
(else
|
|
|
|
(else
|
|
|
|
(char-for-each-acc f (caar cs) (cdar cs) (cdr cs)))))
|
|
|
|
(char-for-each-acc f (caar cs) (cdar cs) (cdr cs)))))
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|