This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-12
Channels
- # adventofcode (67)
- # announcements (8)
- # babashka (46)
- # beginners (154)
- # calva (5)
- # cider (9)
- # clara (5)
- # clj-kondo (34)
- # cljdoc (31)
- # cljsrn (4)
- # clojure (146)
- # clojure-europe (5)
- # clojure-italy (3)
- # clojure-losangeles (2)
- # clojure-nl (149)
- # clojure-spec (22)
- # clojure-uk (73)
- # clojured (6)
- # clojurescript (95)
- # clojureverse-ops (3)
- # cryogen (7)
- # cursive (12)
- # data-science (1)
- # datomic (9)
- # docker (1)
- # emacs (1)
- # figwheel-main (1)
- # hyperfiddle (1)
- # jobs (3)
- # malli (29)
- # nrepl (2)
- # off-topic (61)
- # pathom (6)
- # pedestal (1)
- # planck (1)
- # reitit (19)
- # shadow-cljs (52)
- # spacemacs (5)
- # tools-deps (24)
- # vim (30)
- # yada (6)
@olical I've been looking into shadow+prepl again and was just wondering if it would be possible/make sense to write a small script that verifies some of the stuff you outlined in https://oli.me.uk/clojure-prepl-for-tool-authors/?
Definitely possible yep, I've been meaning to I just don't have the time. A prepl compliance test suite would be awesome. Something I can probably do over Christmas unless someone beats me to it.
would be happy to contribute to this but not sure what the best setup would be. I'm thinking something fairly basic like a bash script but not sure what the requirements really are. If there were a setup somewhere with a single test that I could contribute to that would help me a lot
I'll probably write a Clojure program for it, simple enough. I'll keep you posted and will share it in a few places when it's working. Again, unless you beat me to it 😛
You give it a host and port, it connects and tries a bunch of things. Will require some timeouts too since you can lock up a shadow prepl fairly easily by throwing an error 😬
In my limited testing earlier throwing an error didn't lock up the prepl
but ¯\(ツ)/¯
Oooo interesting. Well, the testing tool will tell all I guess. Might write it over lunch at work if I have time
https://github.com/Olical/prepl-compliance-test I made a start, it tests :ret and :tap in a basic way but acts as a framework to easily add more.
Was from an hour hacking over lunch so I only wrote those two tests but I got the framework down to write more easily.
Anyone got any hints/tips for word boundaries in vim that know about Clojure? i.e., full stops, forward slashes etc...?
@dharrigan vim-clojure-static should handle it https://github.com/guns/vim-clojure-static
i did remove https://github.com/guns/vim-clojure-highlight a while back, and i remember that that adds some highlighting that isn't present out of the box, like highlighting core functions a different color, or something like that
coming back to vim-clojure-static, it isn't clear to me either how up to date the version of that that comes with vim is
it was last updated over 2 years ago, so i think there's a good chance that vim's is up to date now and there's no need for the plugin. at least, one would hope!