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

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Fri Dec 19 17:17:12 EST 2008

Chongkai Zhu wrote:
> I tried something like
>
> (define-syntax (my-macro stx)
>  (syntax-case stx ()
>    ((my-macro p)
>     #`(... #,(dynamic-require '(file "t1.ss") (syntax->datum #'p)) 
> ...))))
>
Works for me. Can you paste an entire example that segfaults?


Posted on the users mailing list.