calva

Fahd El Mazouni 2025-05-01T13:35:33.107649Z

Hey everyone ! just wanted to get your opinion on this before going too deep and/or wasting time. How hard would it be to hack elixir support on top of calva code ? as a first step sending a selection to an nrepl server running in iex for evaluation would be more than worth the effort (and yes I'm trying to build an nrepl server for elixir, is that crazy ?) If someone familiar with the calva code base can give me pointers that would be awesome !

pez 2025-05-01T15:13:34.849749Z

I don’t think I would involve Calva for this. Calva is very Cojure specific. But Calva does have a competent and battle tested nREPL client, no doubt. Maybe a route forward could be to rip this client and package it as an npm module? Or just use a copy of the code, depending.

Fahd El Mazouni 2025-05-01T15:15:42.461709Z

oh no I definitely don't expect calva to get involved ! but if you don't mind it I'll probably use the calva code to bootstrap the thing

pez 2025-05-01T15:20:32.906909Z

You are more than welcome to use whatever from the code. My point was more like that most of Calva is probably irrelevant.

pez 2025-05-01T15:21:02.631989Z

Here’s a silly js-repl thing I made with #joyride https://github.com/BetterThanTomorrow/joyride/blob/master/examples/.joyride/scripts/js_repl.cljs No idea if it is relevant.

Fahd El Mazouni 2025-05-01T15:23:12.293699Z

hell yeah I can avoid creating my own extension and just use joyride/clojure for the client (I think it should work, here you're evaluating js, I'd be evaluating elixir, would probs work)

Fahd El Mazouni 2025-05-01T15:23:36.171769Z

thank you !

👍 1
🙏 1
pez 2025-05-01T05:47:53.034059Z

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.504 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2789 Thanks @phill! 🙏 calva ❤️

Jake Pearson 2025-05-01T13:42:33.863759Z

Thanks for the quick fix!!