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 !
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.
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
You are more than welcome to use whatever from the code. My point was more like that most of Calva is probably irrelevant.
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.
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)
thank you !
There’s a demo here: https://github.com/BetterThanTomorrow/joyride/tree/master/examples#give-yourself-a-javascript-repl
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.504 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2789 Thanks @phill! 🙏 calva ❤️
Thanks for the quick fix!!