Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Injection over plain socket repl #96
Make it possible to upgrade a plain socket repl to a nREPL connection.
A socket repl is a UTF-8 (Is it even guaranteed ?) connection, so upgrading it to bencode is not possible if real binary payloads are in use; are they? In any case we would need a custom bencoder that knows the underlying stream is already UTF-8.
The edn transport (#60) would be an easier target.
Since nREPL has multiplexed input a different injection strategy can be used than with unrepl: we can basically just inject a sideloader (#97). That would spare us all the blob generation.
So I started working on injection based on bencode. Work lives on this branch https://github.com/nrepl/nrepl/tree/injection
Right now the
Currently it starts a pseudo-nrepl equipped only with a light version of the sideloader. Meanwhile it tries to eval