Scripting with Clojure(Script) : Plain Clojure ? Node.js ? Boot ? Planck ? Pixie ?

463 views
Skip to first unread message

Khalid Jebbari

unread,
Aug 25, 2015, 9:52:39 AM8/25/15
to ClojureScript
Hi every one,

Just starting this thread to gather feedback from people who used CLJ(S) to script and replace, you know, shell/Python/Ruby/Whatever. Pretty sure it's a dream to code AND script with CLJ(S). I know that it's possible to do it with CLJS backed by Node.js/io.js, with Boot somehow, with plain Clojure, with Mike Fikes' Planck (only OSX for now though), and Timothy Baldridge's Pixie which is not Clojure but quite close.

If you use any or several, please post your feeback here. It's a nice time to CLJ(S) all the things :)

Julien Eluard

unread,
Aug 26, 2015, 9:01:28 AM8/26/15
to clojur...@googlegroups.com
Hi Khalid,

I agree with you that there is some potential here.

Planck would be my favorite option but the OSX restriction and the lack of standard lib support probably will prevent me to use it.

It makes me wonder why Planck has not been built on top of node.js/electron. It would offer free cross-platform support and access to the npm ecosystem. Are there any technical limitations that prevented it?

Julien

--
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 clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

mikef...@gmail.com

unread,
Aug 26, 2015, 10:06:48 AM8/26/15
to clojur...@googlegroups.com
Hi Julien,

AFAIK there isn't any technical limitation preventing a similar effort built atop Node. In fact, Joel Martin has created a Node REPL based on self-hosting ClojureScript. See 
https://twitter.com/bus_kanaka/status/631252967987875840

Why wasn't Planck created using Node? Planck was created on a whim—an experiment to see just how quickly it could launch: http://blog.fikesfarm.com/posts/2015-07-16-fast-javascriptcore-desktop-clojurescript-repl.html

What about the long-term pragmatic aspects of Planck with respect to portability, Node, etc.? Those are mulled over here: https://gist.github.com/mfikes/c7da1e7dfded26c7ceb9

- Mike

Julien Eluard

unread,
Aug 26, 2015, 11:58:59 AM8/26/15
to clojur...@googlegroups.com
Hi Mike,

thanks for sharing those details! It makes much more sense now.
BTW congrats for all your work on Planck: it is quickly proving invaluable.

Cheers,
Julien

kinleyd

unread,
Aug 27, 2015, 2:36:24 AM8/27/15
to ClojureScript
Joel Martin's bootstrapped cljs version at https://t.co/flPNBKKfQ6 works well off node. Download the linked gist, same it as a local .js file and execute it with node. You get a cljs repl which will get you going with scripting using nodejs interop.

kinleyd

unread,
Aug 27, 2015, 2:37:11 AM8/27/15
to ClojureScript
/same save!
Reply all
Reply to author
Forward
0 new messages