unrepl

discussing specification of an edn-based repl and its implementations.
devurandom 2018-03-05T05:58:40.000006Z

Hi!

devurandom 2018-03-05T05:59:16.000026Z

I just saw the word "pREPL" for the first time. Is that Rich's take on Unrepl?

bozhidar 2018-03-05T06:43:07.000147Z

See the history here. There was a discussion on the subject and some link to reddit.

bozhidar 2018-03-05T06:43:21.000230Z

Supposedly Rich invented pREPL independently.

cgrand 2018-03-05T07:37:54.000185Z

I should reactivate my reddit account to correct Sean’s misunderstanding.

dominicm 2018-03-05T08:30:55.000359Z

I keep needing to dispel the myth of unrepl being a dependency.

cgrand 2018-03-05T09:24:15.000044Z

And even if prepl grows out to be a general tooling connection (which I doubt atm: do you see Rich baking a completion lib in clojure itself?) then tools would either have to stuck with what is provided by default (with capabilities varying on versions) or bring their own stuff. People are just used to believe that “bringing own stuff” implies adding dependencies; at the same time they bring their own new code through a repl all day long…

cgrand 2018-03-05T10:54:30.000434Z

http://clj-me.cgrand.net/2018/03/05/mic-check/

2018-03-05T12:27:43.000048Z

Oh. I suddenly get a unrepl.core/do unknown var error.

2018-03-05T12:36:39.000047Z

I guess it is because unrepl is now mapped to unrepl.core. So the reading part fails the unrepl/do check.

cgrand 2018-03-05T12:36:58.000048Z

argl

cgrand 2018-03-05T12:39:47.000394Z

@kotarak fixed ^^

2018-03-05T13:02:48.000389Z

Ok. I got something, which I thought, I'd never get.

2018-03-05T13:03:28.000220Z

user=> (read)

2018-03-05T13:03:34.000326Z

:foo

2018-03-05T13:03:38.000427Z

:foo

2018-03-05T13:03:47.000056Z

user=>

2018-03-05T13:04:54.000458Z

Not terribly robust, but cooool. 😎

cgrand 2018-03-05T13:06:34.000278Z

heh?

2018-03-05T13:10:00.000231Z

Reading from in from repl from inside vim.

2018-03-05T13:12:33.000124Z

Hrm. Although the async callbacks mock around with the insert mode. Grmpf.

cgrand 2018-03-05T13:14:28.000503Z

Hey all, I can’t find this recently open sourced lib for displaying stack traces, anyone has a link to it?

cgrand 2018-03-05T13:22:25.000290Z

Hi @dbsgtk try 5555 instead of 555 (which requires root privileges)

dbsgtk 2018-03-05T13:22:41.000497Z

ahh, thanks.

dbsgtk 2018-03-05T13:23:03.000442Z

I didn’t notice that; I think there’s a 5 (and a space) missing in the README example.

cgrand 2018-03-05T13:25:54.000509Z

thanks fixed

2018-03-05T13:28:42.000475Z

While we are at docs: Is it -m unrepl/make-blob or -m unrepl.make-blob in UPGRADE.md?

👍 1
✅ 1
2018-03-05T13:37:12.000538Z

You missed one in the you can customize line.

2018-03-05T16:13:57.000337Z

@cgrand I think you meant https://github.com/venantius/pyro

cgrand 2018-03-05T16:14:43.000644Z

@mynomoto looks like it, thanks!

👍 1
cgrand 2018-03-05T17:02:27.000327Z

Q: should unrepl reference count blobified namespaces and delete them when no active connections for a ns?

2018-03-06T14:15:18.000207Z

How do you handle required namespaces?

cgrand 2018-03-06T15:35:11.000484Z

at blobification time one can build a list of the SHAded namespaces maybe?

cgrand 2018-03-06T15:35:36.000128Z

ok let’s not worry about that atm

2018-03-05T17:53:37.000365Z

There you go. Vimpire has now a real repl.

2018-03-05T17:53:47.000798Z

Only completion is missing for now.

2018-03-05T17:54:13.000378Z

And robustness needs a boost. Örk.

2018-03-05T18:03:45.000043Z

And there is a problem, that vim always leaves insert mode.