racket/collects/tests/scribble/text/i3b
Eli Barzilay ffde7e7b42 preprocessor tests
svn: r11787
2008-09-17 14:19:55 +00:00

13 lines
305 B
Plaintext

@(define (foo . xs) (bar xs))
@(begin (define (isname) @list{is @foo{@name}})
(define-syntax-rule (DEF x y) (define x y)))
@(DEF (bar x) (list z " " x))
@(define-syntax-rule (BEG x ...) (begin x ...))
@(BEG (define z "zee"))
My name @isname
@DEF[x]{Foo!}
... and to that I say "@x", I think.