Search code examples
javanode.jsclojureclojurescript

ClojureScript without Java


Is it possible to compile ClojureScript without Java?

I read the clojurescript nodejs quickstart but I see they still use java to compile.

I checked cljs-bootstrap but they also depend on java.

Is there any way to just use npm install and start using clojurescript?


Solution

  • Now there is Lumo: https://www.npmjs.com/package/lumo-cljs

    Lumo is a standalone ClojureScript environment that runs on Node.js and the V8 JavaScript engine. It starts up instantaneously and has out-of-the-box access to the entire Node.js ecosystem.

    Lumo also provides a ClojureScript build API, making it possible to compile ClojureScript projects entirely without the JVM, thanks to the experimental JavaScript version of the Google Closure Compiler.

    Cheers.