8 ms·
The p in prepl stands for programmable or programs, as in, for programs. If you open up a socket REPL you can connect to it and send code + receive results but
by Olical 7y ago
The p in prepl stands for programmable or programs, as in, for programs. If you open up a socket REPL you can connect to it and send code + receive results but they're printed without any structure. String goes in and string comes out.
The prepl wraps all responses in a predictable EDN data structure tools can consume with ease. This is what Conjure is built on. The source and doc for the Clojure prepl is really informative: https://github.com/clojure/clojure/blob/8e7213781a1a45db966898835b8f41f545c64d52/src/clj/clojure/core/server.clj#L192-L215 https://github.com/clojure/clojure/blob/8e7213781a1a45db9668...
- knubie 7y agoThat sounds fantastic. Thanks for the info. Currently I'm using iced-vim, but I'll definitely have a look at Conjure when I have some time.