[gambit-list] macros talking to each other

lowly coder lowlycoder at huoyanjinjing.com
Wed Jul 8 14:51:10 EDT 2009


Is it possible to define macros foo & bar so that the following code:

(foo '(1 2 3))

... some junk ...

(bar)

becomes, at compile time:

'()

... some junk ...

'(1 2 3)


-- the real question being, right now, each macro expansion seems to happen
in it's own little world -- is there anyway they can communicate?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090708/d5f40788/attachment.htm>


More information about the Gambit-list mailing list