nrepl

jasalt 2025-03-30T07:25:04.017149Z

Is this part of docs relevant / correct at https://nrepl.org/nrepl/building_servers.html#basics? > Some clients (e.g. CIDER) might be relying on the server startup message to extract connection information from it. That’s why it’s a good to provide the same message for your own server implementation. Here’s the message in question: >

nREPL server started on port 58567 on host 127.0.0.1 - 
... Ah, I think I misunderstood this being a message you send to client on connect over socket but it's text written to server process stdout instead...

✅ 1
jasalt 2025-03-30T07:35:37.139929Z

I sent that over socket when client connected and it lead to some glitch with cider-connect (required server restart&retrying for successful connect) and Calva's generic connection method failed completely because of it.. Now both connect after removing that mistake 🙂.

pez 2025-03-30T07:42:17.629379Z

What are you writing an nrepl server to? /Curious George

jasalt 2025-03-30T08:23:02.248979Z

@pez Phel (PHP Lisp). I hope it would be the last PHP project I need to touch, hehe. https://codeberg.org/jasalt/phel-nrepl There's some glitches but a great step forward to get it connect and eval!

👍 1
pez 2025-03-30T09:03:31.365179Z

Lovely.