joker

2019-11-18T15:36:58.095800Z

fwiw, i asked Olical whether conjure uses the tap> portion of prepl and iiuc, he said something like "not really".

😂 1
jcburley 2019-11-19T02:25:51.095900Z

LOL, that's kinda vague! Maybe implementing the rest of prepl is easy enough (as a mod to Joker itself, if not as Joker code) to test out whether it'd be useful without tap>.

2019-11-19T02:26:52.096200Z

well, you did specifically mention tap> :)

👍 1
jcburley 2019-11-19T02:28:33.096500Z

From what little research I've done, it seems like tap> would require a fairly major change (if not redesign to Joker), because it basically requires being able to run arbitrary Joker code on different threads (i.e. Joker would need to support multithreading in some fashion).

jcburley 2019-11-19T02:30:28.096700Z

So, is it worth (someone) implementing a pRepl for Joker without Joker also supporting tap>?

2019-11-19T02:38:16.096900Z

i got the sense from Olical that conjure would work fine without the tap> support in prepl - so it's the cost of prepl implementation and maintenace traded for users being able to use conjure i guess. on a side note, prepl is still alpha iiuc.

👍 1
jcburley 2019-11-19T02:38:45.097100Z

Interesting.

2019-11-21T01:19:22.097800Z

I haven't seen a lot of people using tap> yet

2019-11-21T01:19:50.098Z

in the context of rebl and debugging, it can be handy

2019-11-21T01:20:11.098200Z

What does prepl make use of tap> for? Tap> is a core fn now. So it's more a question of should joker support tap> from core no?

2019-11-21T01:20:38.098400Z

whatever you tap> will show up on the prepl in an "unsolicited" manner -- it just suddenly shows up

2019-11-21T01:21:03.098600Z

Oh, I see. So prepl is always listening for taps and will print them out?

2019-11-21T01:21:05.098800Z

at any rate, for prepl-using purposes, i wonder how much use tap> is

2019-11-21T01:21:11.099Z

that's how it looks to me

2019-11-21T01:22:22.099200Z

in the context of rebl, whatever you tap> will show up in the tap tab, after tap>ing multiple times, you can click "browse" and all of the accumulated tap> content is then made available for inspection in the main rebl ui

jcburley 2019-11-21T01:42:30.099900Z

That sounds awesome. Might make my top 5 reasons to add multithreading to Joker! 😉

2019-11-21T01:44:26.100100Z

not quite sure what you are referring to, but for rebl to work, iiuc, it must be in the same process that a clj project is running in -- at least at the moment. i think there is some thought being given to things working over the wire (e.g. punk), but these things are even more early stage iiuc.

2019-11-21T01:45:24.100300Z

(i did succeed in converting emacs-lisp data structures to analogous clojure data structures and sending to rebl as well as punk though)

2019-11-21T01:46:54.100500Z

I mean, a prepl that doesn't print tapped value still seems useful

2019-11-21T01:47:27.100700Z

As I understand, prepl is just a socket repl that takes and returns EDN

2019-11-21T01:47:50.100900Z

Which makes it easier to use then a plain old socket repl

2019-11-21T01:48:19.101100Z

It seems it also has this tap> feature, but logically it seems it could still function without it

2019-11-21T01:49:07.101300Z

Unless a prepl client was relying on tap> to print info to the repl. Like say the client when you eval something did a tap> or if an exception was thrown it did a tap> to display it, etc.

2019-11-21T01:50:47.101500Z

yes, prepl without tap> seems plenty useful -- for tooling, it's much easier to parse the output (all maps). Olical's conjure is built using prepl.

2019-11-21T01:51:19.101700Z

return values and out and err are not all mixed together