[racket-users] Re: how can I approximate syntax properties with `make-rename-transformer`?

2017-11-29 Thread Matthew Butterick
Seems like this works well enough, where I approximate the rename-transformer rather than the syntax property. (define-syntax (mb stx) (syntax-case stx () [(_ . args) (with-syntax ([args (syntax-property #'args 'key 'value)]) #'(other-module-begin . args))]))

[racket-users] Re: how can I approximate syntax properties with `make-rename-transformer`?

2017-11-28 Thread Jack Firth
What about passing the configuration data to `other-module-begin` via keyword arguments or tagged expressions in the body of the `(other-module-begin ...)` expansion? Is there a particular reason `mb` and `other-module-begin` need to communicate with syntax properties? On Tuesday, November 28,