On Sat, Jul 13, 2019 at 02:12:48PM +0200, Marco Maggi wrote:
> Peter Bex wrote:
>
> > This won't work. "rename" is operating in the syntactic environment
> > of the transformer. You can pass it as a procedure to some other module,
> > but that won't change its internal state.
>
> So, is RENAME
Peter Bex wrote:
> This won't work. "rename" is operating in the syntactic environment
> of the transformer. You can pass it as a procedure to some other module,
> but that won't change its internal state.
So, is RENAME closed upon the environment in which ER-MACRO-TRANSFORMER
is called? So
On Sat, Jul 13, 2019 at 08:26:56AM +0200, Marco Maggi wrote:
> I would like to write such macro as:
>
> (import (scheme)
> (chicken fixnum))
> (import-for-syntax (scheme)
>(only (chicken syntax)
> er-macro-transformer)
>
Ciao,
it is my understanding that, if I write a macro as follows:
(import (scheme)
(chicken fixnum))
(import-for-syntax (scheme)
(only (chicken syntax)
er-macro-transformer))
(define-syntax spiffy
(er-macro-transformer
(lambda