Welcome! Please see the About page for a little more info on how this works.

0 votes
ago in ClojureScript by

I've used planck occasionally for years, but now it seems to be deprecated. (Won't build on homebrew.) But it sounds like its functionality has been absorbed by clj. So where can I find documentation about this, and how to run a cljs REPL?

3 Answers

0 votes
ago by

Not sure what you mean by "absorbed by clj"?

Have you tried https://clojurescript.org/guides/quick-start to get a ClojureScript REPL up and running?

Depending on what you want to do, maybe Babashka might be appropriate? https://babashka.org/

0 votes
ago by

Clojurescript by default requires a javascript runtime.

The "easiest" target is the nodejs.

I use this alias to easily run a cljs REPL in nodejs

alias cljs='clj -Sdeps '\''{:deps{org.clojure/clojurescript{:mvn/version"1.12.145"}}}'\'' -M -m cljs.main -re node'
0 votes
ago by

This is covered in the QuickStart https://clojurescript.org/guides/quick-start and there is a REPL category under Reference same as clojure.org.

Anything we could do that would make this easier for you to find?

...