Hacker News new | ask | show | jobs
by disentanglement 527 days ago
In lisp, macros are just ordinary functions whose input and output is an AST. So you can debug them as you would any other function, by tracing, print debugging, unit tests or even stepping through them in a debugger.