This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-14
Channels
- # aleph (3)
- # announcements (16)
- # aws (6)
- # babashka (10)
- # beginners (28)
- # cider (1)
- # clj-kondo (14)
- # cljdoc (2)
- # cljs-dev (27)
- # cljsrn (7)
- # clojure (78)
- # clojure-europe (2)
- # clojurescript (14)
- # conjure (6)
- # core-async (2)
- # fulcro (5)
- # helix (7)
- # jobs (1)
- # lgbtq (1)
- # malli (12)
- # missionary (1)
- # nbb (10)
- # pathom (1)
- # portal (12)
- # protojure (1)
- # re-frame (41)
- # react (2)
- # reitit (1)
- # reveal (1)
- # shadow-cljs (72)
- # sql (11)
- # tools-deps (8)
- # vim (1)
- # xtdb (4)
I'm happy to announce the first release of Trenchman https://github.com/athos/trenchman Trenchman is a standalone nREPL/prepl client written in Go and heavily inspired by https://github.com/technomancy/grenchman. It connects to a running nREPL/prepl server and starts up a REPL session instantly. Feedback is welcome!
Are you also aware of https://github.com/eraserhd/rep?
Btw, it's pretty easy to expose your binary as a babashka pod (this uses a very similar format as nREPL) so it can be used a a library from babashka. See https://github.com/babashka/pod-babashka-go-sqlite3 for an example in golang.
> Are you also aware of https://github.com/eraserhd/rep? Yeah, I know of it. Some of Trenchman's use cases overlap with it, I think. > Btw, it's pretty easy to expose your binary as a babashka pod (this uses a very similar format as nREPL) so it can be used a a library from babashka I'm not familiar with babashka pod, so I'll look into it later. Thanks for the suggestion! 🙏
bb nrepl-server & sleep 1 && trench -p 1667 && kill $!
This connects to a babashka nREPL server :)I'm glad to see you playing with my tool 😄
Before the timeout, perhaps trench
should support connection retry?
> Also some read-line-ish feature would be nice so up arrow works
Yes, readline
is a must-have feature. I'd like to support it at some point if it's not too difficult to implement. For now, I'm using the command with rlwrap
, like alias trench='rlwrap trench'
.
you could look at how joker has implemented their REPL, I think they're using some golang library for dealing with the input
[com.wsscode.pathom3 "2021.08.14-alpha"]
is out! This release includes improvements for dynamic resolvers, which is what will allow the maximal graph vision of Pathom to work! Changes:
• Fix cache store specs
• Add ::pcr/wrap-process-sequence-item
plugin entry point
• Add filtered-sequence-items-plugin
new built-in plugin
• Batch support for dynamic resolvers
• Batch support on foreign requests
• BREAKING CHANGE: Dynamic resolvers always get rich inputs with input data and foreign ast
• Dynamic mutations also go as input parts with params
https://clojars.org/com.wsscode/pathom3