define-macro-define-syntax.scm 286 B

12345678910
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: Richard Kelsey, Jonathan Rees
  3. (define-macro (define-syntax macro-name transformer . stuff)
  4. `(define-macro (,macro-name . args)
  5. (,transformer (cons ',macro-name args)
  6. (lambda (x) x)
  7. eq?)))