@defuneste #defmacro? idk, I'm not doing this because its easy, I'm doing this because I thought it would be easy... (tbqhwy I'd settle for sqlite3 and duckdb)

Getting macros for Emacs right is an abysmal pita, as the output of the macro must be valid Elisp code. This usually requires a wild mix of expansion/evaluation or not of the macro parameters in the right places. If you have not done this for the last umpteen years, you will (no subjunctive, you WILL) screw up first.

To make the task a easier I tried a macro to (a) dump the macro expansion of your macro and (b) let it go wild.

https://codeberg.org/harald/Codeschnipselnotizen/src/branch/main/elisp/tracemacro.el

#elisp #emacs #defun #defmacro #codeberg

Codeschnipselnotizen/elisp/tracemacro.el at main

Codeschnipselnotizen - Code snippets and notes

Codeberg.org