by tumult · 17y ago · 0 comments
I usually use a mixture of both. define-macro for when I'm just trying to kill some repetition without an obvious functional composition solution, and define-syntax for when I'm laying serious groundwork functionality.
Not anymore for Chicken! Chicken 4.0 switched to `syntax-rules' and explicit renaming macros.
Edit: those who like traditional macros might also like explicit renaming ones [1,2], since they're very similar.
[1] http://www.gnu.org/software/mit-scheme/documentation/mit-sch...
Either way, good to know.
...gets back to work hacking in SBCL.