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))]))
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,
2 matches
Mail list logo