[plt-scheme] How to dynamic-require a syntax?

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Fri Dec 19 17:12:27 EST 2008

I tried something like

(define-syntax (my-macro stx)
  (syntax-case stx ()
    ((my-macro p)
     #`(... #,(dynamic-require '(file "t1.ss") (syntax->datum #'p)) ...))))

but it doesn't work (generates a seg fault). Could anyone help to make 
it work? Thanks.

Chongkai


Posted on the users mailing list.