Duncan Mak
2018-03-02 23:28:46 UTC
Hello,
I'm writing some macro code and I make use of with-syntax quite a bit.
When I load it in the REPL, it all seems to work, but when I load it
as an R7RS library module definition, I run into various issues:
1) If I run it with (import (scheme base)), I fall into a recursive
loop inside some rewrite step, and it eventually gives up.
2) If I run it with (import (scheme base) (kawa lib std_syntax)), I
seem to see something similar (http://savannah.gnu.org/bugs/?49416
says to import std_syntax).
3) If I run it with (import (kawa base)), then things seem to work,
but now I can't define my own macro named define-variable.
What's the right way to get with-syntax to work?
I'm writing some macro code and I make use of with-syntax quite a bit.
When I load it in the REPL, it all seems to work, but when I load it
as an R7RS library module definition, I run into various issues:
1) If I run it with (import (scheme base)), I fall into a recursive
loop inside some rewrite step, and it eventually gives up.
2) If I run it with (import (scheme base) (kawa lib std_syntax)), I
seem to see something similar (http://savannah.gnu.org/bugs/?49416
says to import std_syntax).
3) If I run it with (import (kawa base)), then things seem to work,
but now I can't define my own macro named define-variable.
What's the right way to get with-syntax to work?
--
Duncan.
Duncan.