4 ms·
Debugging lisp macros is like debugging anything else. You have functions that take an input and produce an output. The input is data, the output is data, and t
by emidln 10y ago
Debugging lisp macros is like debugging anything else. You have functions that take an input and produce an output. The input is data, the output is data, and there aren't likely side effects. Use the same tools to debug macros that you would use to debug other functions. We have debuggers, tracers, and the repl to help us debug macros, since macros are just normal lisp functions (that run at a different time than "normal" code).