Fork me on GitHub
#clojure
<
2022-06-18
>
olaf06:06:47

How can I convert Clojure code to a JS string from inside Clojure? Is possible to use the cljs namespace from Clojure?

delaguardo06:06:45

https://github.com/arohner/scriptjure/ not completely what you want but this library might be good enough

👍 1
plexus07:06:06

You can call the clojurescript compiler as a library, it's possible to pass it just a form to compile. Not entirely trivial though.

Kamuela10:06:45

I am seeing OpenJDK non-chalantly using version numbers like 1.7 and 1.8 and the official site says 11, 12, 13 etc. Can someone give me a rosetta stone between these two as a Java noobie?

thheller10:06:03

after 1.5 the jdk people decided to just drop the 1.

thheller10:06:15

so 1.8 would be jdk8 and so on

Kamuela10:06:53

Does that mean that 11 is equivalent to 1.11?

thheller10:06:08

as far as I know there never has been a 1.11 used anywhere but yes

Kamuela10:06:38

Heroku deployment has a setting for the clojure buildpack, system.properties as a file has an entry: java.runtime.version=1.8

Kamuela10:06:57

So if I want Java 11, I'm trying to figure out if I'd be expected to say java.runtime.version=1.11

Kamuela11:06:18

Amazing how you found that