You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling (->Node 10 20) and I'm having an error when using the reader conditional :cljd to define the ->Node macro.
Oh noes! 馃樀
Error while compiling (->Node1020)
See definitions below
;; It works.
(defmacro->Node
[body stack])
;; It does not work (the error appears only when calling `->Node`).
#?(:cljd (defmacro->Node
[body stack]))
;; It works.
#?(:clj (defmacro->Node
[body stack]))
The text was updated successfully, but these errors were encountered:
Macros are in a weird state at the moment (they are run by Clojure JVM), we didn't want to follow CLJS route since self-hosting is the goal.
In the mean time it may cause problems for cljc with macros. Could you give more context so that we figure a workaround out?
Macros are in a weird state at the moment (they are run by Clojure JVM), we didn't want to follow CLJS route since self-hosting is the goal. In the mean time it may cause problems for cljc with macros. Could you give more context so that we figure a workaround out?
Oh okay, thanks. I can do without it for now, I am just trying to compile some usable subset of SCI.
I'm calling
(->Node 10 20)
and I'm having an error when using the reader conditional:cljd
to define the->Node
macro.See definitions below
The text was updated successfully, but these errors were encountered: