I'm writing a cli script with lumo and I want the following macro, but using readFileSync from nodejs.
(defmacro compile-time-slurp [path]
;; slurp is not defined in self hosted cljs
(slurp path))
Is this possible?
EDIT: To be more clear, this is in self-hosted clojurescript, where the slurp function is not available at macro-expansion-time.