How do I unquote a sigil parameter to a macro?

Hey @LukasKnuth that isn’t how that works. You can think of quote and unquote as similar to "" and #{}. You can’t use #{} outside of a string "" it just doesn’t make any sense. And when you use unquote inside of quote it is not turning it “back into” a sigil, it’s still AST. AST is all there is at the macro level. It’s just interpolating that ast inside of other AST.

Can you show an example of the code you’re trying to get to work in general? Tangentially there is another thread about the use of ~p that is pretty similar Using `~p` dynamically inside a macro - #5 by 0xG it may have some useful pointers for you.