Hi Divyansh,
Joel Martin has this for Node.js:
sudo npm install -g cljs-repl
and then you can start up a REPL with
cljs
If you are on OS X you can try Planck:
http://planck.fikesfarm.com
Neither use the JVM. (While Joel’s uses Node, Planck uses the JavaScriptCore
that ships with OS X.)
Planck is specifically catering to scripting:
http://blog.fikesfarm.com/posts/2015-08-01-planck-scripting.html
http://blog.fikesfarm.com/posts/2015-07-29-clojurescript-mainia.html
- Mike
> On Aug 15, 2015, at 2:25 PM, Divyansh Prakash <[email protected]>
> wrote:
>
> I love Clojure, but am severely hindered by not being able to write scripts
> due to high start-up times. Once I have a REPL running and hot, I actually
> don't mind it much, but it would still be fun to have a tool that lets me say
>
> lein-node new fun-script
> cd fun-script/
>
> And then have an instant REPL up by saying
>
> lein-node repl
>
> .. and generally hacking away like we do in Clojure.
> But all of it without the JVM.
> Basically, a first-class JS host for Cljs.
>
> I would love to be able to write quick and dirty scripts in Clojure.
> Is there something like this available that I'm missing out on?
> Or does this sound completely heretical?
>
> --
> Note that posts from new members are moderated - please be patient with your
> first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.