Hacker News new | ask | show | jobs
by avmich 7 days ago
I think they are called read macros or something like that.
1 comments

Correct, user-written reader macros aren't allowed in Clojure. Rich decided the tradeoffs for adding them weren't in the language design's favor. Tagged literals are available, which lets Clojure users do some (?) of the things that reader macros enable. I haven't reached for them myself, so I don't know what the use cases are.

https://clojure.org/reference/reader#tagged_literals