1;;> This is a library definition which includes a syntax definition.
2(define-library (example syntax)
3 (export my-syntax)
4
5 (begin
6 ;;> My custom syntax, should be used as follows.
7 ;;>
8 ;;> ```
9 ;;> (my-syntax
10 ;;> (display "foo")
11 ;;> (newline))
12 ;;> ```
13 (define-syntax my-syntax
14 (syntax-rules ()
15 ((my-syntax BODY ...)
16 (begin BODY ...))))))