Is it always necessary to rewrite a Clojure library in Clojurescript, in order
to use its functions?
There are several third-party Clojure libraries that I'd like to use in a web
page, but cannot find a way to call the Jar methods directly.
--
Note that posts from new members are moderated -
This is a good question.
Until very recently, there was no easy way to share code between
Clojure and ClojureScript at all, although the pure clojure-core stuff
did work pretty much out of the box.
Still it's quite common that a library has dependencies to other
jvm-stuff, or uses jvm-stuff under
On Tuesday, September 8, 2015 at 7:14:57 PM UTC-4, Linus Ericsson wrote:
> This is a good question.
>
> Until very recently, there was no easy way to share code between
> Clojure and ClojureScript at all, although the pure clojure-core stuff
> did work pretty much out of the box.
>
> Still it's q
Clojure 1.7 introduced Reader Conditionals which allows you to write one
Clojure file (with a .cljc) extension, and use conditional expressions to
let Clojure make Java calls and ClojureScript make JavaScript calls. How
easy or hard it would be to convert a Clojure library to a
Clojure/ClojureScrip