make %splice work in macro outputs
samrushing opened this issue · 1 comments
samrushing commented
I'd like a macro to dump several forms into the top level, but I can't because %splice
is processed at such a low level that it tries to affect the macro definition. It might be possible to fix this by having it ignore everything inside defmacro
, but I think this exposes a larger problem: everything in transform.scm
is intertwined and ill-understood. Even if it worked it would probably fail because the code that scans for declarations would miss it.
Need to sit down and carefully go over each of its tasks, spec them, and implement them if necessary as separate passes.
samrushing commented
Addressed in ada1d42