Open arrdem opened 9 years ago
Okay so CLJS has support for introspecting vars from CLJ
11:42 < arrdem> does the clojurescript compiler expose anything like ns-publics on the JVM side?
11:45 < Bronsa> arrdem: https://github.com/clojure/clojurescript/blob/master/src/clj/cljs/core.clj#L1675
11:47 < arrdem> Bronsa: thanks
This really makes the issue that of getting tools.namespace and tools.classpath to find cljs files.
This is probably a nontrivial issue that's going to require calling in the cavalry, but when documenting clojurescript there are actually two
cljs.core
namespaces -cljs/core.clj
andcljs/core.cljs
.tools.namespace
will only load the.clj
version, which means that the existing documentation oforg.clojure/clojurescript
is actually missing like half of the defs due to not loading the clojurescript source. Not sure how actually doing that is gonna shake out because I can't actually load that source into the JVM clojure instance.