;; $ csc -c test-compile-syntax.scm ;; $ csc -c -compile-syntax test-compile-syntax.scm ;; ;; Warning: reference to possibly unbound identifier `barize' ;; ;; Error: module unresolved: foo (module foo (bar) (import chicken scheme) (begin-for-syntax (define (barize . x) 42)) (define-syntax bar (er-macro-transformer (lambda (x r c) (apply barize (cdr x))))) ) (module foobar * (import chicken scheme foo) ;(import hae?) (define barefoot (bar 23))) (import foobar) (use chicken.format) (format #t "Seen ~a\n" barefoot)