basilisp
basilisp copied to clipboard
pREPL Server
Cool project and just wanted to give my quick thoughts on this part of it as a REPL obsessed developer: I would highly recommend considering nREPL, it's a slightly higher up front cost but you'll reap the benefits for years to come. That's coming from someone who's implemented and consumed essentially every protocol here as well as nREPL over 5+ years as a tooling developer 😅
If you implement nREPL you could be another candidate for Conjure as we make the nREPL support more generic and easy to plug into many more languages that run off of nREPL.
If you DO want to use prepl, these may help:
- https://oli.me.uk/clojure-socket-prepl-cookbook/
- https://oli.me.uk/repling-into-projects-with-prepl-and-propel/
- https://oli.me.uk/clojure-prepl-for-tool-authors/
Hi @Olical we already have some support for nREPL, so perhaps that support is already possible.
Oh nice! Then yeah, it can be supported with some copy and pasting to create a new client.
If the language gets tree-sitter support in Neovim that'll improve the experience too. We could probably just use Clojure's tree-sitter grammar through really or modify it lightly.
We're in the middle of some refactoring over on Conjure right now so I can't try and mock up a client for Basilisp just yet but we'll probably be able to do something soon ☺️
On Tue, 27 Aug 2024, 11:28 Chris Rink, @.***> wrote:
Hi @Olical https://github.com/Olical we already have some support for nREPL https://basilisp.readthedocs.io/en/latest/cli.html#start-an-nrepl-session, so perhaps that support is already possible.
— Reply to this email directly, view it on GitHub https://github.com/basilisp-lang/basilisp/issues/628#issuecomment-2312148041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACM6XP4GMC4TBEC7GP7E5TZTRIEDAVCNFSM6AAAAABNFYED56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGE2DQMBUGE . You are receiving this because you were mentioned.Message ID: @.***>