planck

Planck ClojureScript REPL
slipset 2016-11-29T07:41:44.000544Z

@stbgz This is exactly what I’ve been waiting for!

slipset 2016-11-29T07:46:29.000546Z

But if I were to wish for one thing, it would be a library that given a project.clj (or some other description of dependencies), gives a graph of dependencies.

slipset 2016-11-29T07:48:36.000547Z

Now, I see that you would need to download stuff to be able to make the whole dependency graph, so maybe the fn that figures out the deps-graph could take another function which given a url, produced the artifact. I guess that’s what you’re doing with the os namespace in huckleberry

slipset 2016-11-29T07:49:52.000548Z

The reason I’m going on about this is that planck has it’s own http-implementation, so it’d be neat if we with planck could do something like (huck/resolve deps planck.http/get)

anmonteiro 2016-11-29T07:50:07.000549Z

I think we'll ultimately have something like Boot/Lein for self-hosted ClojureScript

anmonteiro 2016-11-29T07:50:16.000550Z

Huckleberry seems to be a step in that direction

slipset 2016-11-29T07:50:38.000551Z

@anmonteiro I guess calvin is the boot/lein thing here

anmonteiro 2016-11-29T07:51:12.000552Z

right but it doesn't currently have tasks to show the dep graph as you say

anmonteiro 2016-11-29T07:51:22.000553Z

and it won't work with Planck if it uses Lumo namespaces

slipset 2016-11-29T07:51:26.000554Z

@anmonteiro but I guess my point is that since a lot of io is undefined for cljs as a platform, io needs to be pluggable

anmonteiro 2016-11-29T07:51:46.000555Z

yeah, which is why I'm still uncertain how to proceed

anmonteiro 2016-11-29T07:52:20.000556Z

I've spoken briefly with Mike to unify IO into something based on protocols that both Planck/Lumo can implement downstream

slipset 2016-11-29T07:52:35.000557Z

So have I, but that was before Lumo

slipset 2016-11-29T07:54:48.000558Z

But I guess then you’ll end up in trying to define an IO subsystem/protocol for cljs’s to adhere to.

slipset 2016-11-29T07:55:29.000559Z

But with Lumo this is becoming interesting again.

slipset 2016-11-29T07:57:33.000560Z

But, it would be cool if I could basically do whatevercljsrepl -e '(http/get “<http://www.clojure.org|www.clojure.org>”)’

slipset 2016-11-29T07:58:22.000562Z

or even whatevercljsrepl -e '(slurp “<http://www.foo.com>”)’

stbgz 2016-11-29T16:14:21.000563Z

Yeah we need to figure out io for the repls so we are not tied to a single platform

stbgz 2016-11-29T16:14:55.000564Z

That being said Calvin just learned to start Planck repls