Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making a nrepl server #43

Open
5 of 9 tasks
scrabsha opened this issue May 13, 2020 · 1 comment
Open
5 of 9 tasks

Making a nrepl server #43

scrabsha opened this issue May 13, 2020 · 1 comment
Assignees

Comments

@scrabsha
Copy link
Collaborator

scrabsha commented May 13, 2020

Title says basically everything.

Development will live on my fork. Feel free to make any comment about the implementation here.

Here is the minimum set of things that must work before a PR is created:

  • ability to connect a lein client to the server,
  • add proper CLI handling to decide whether if we start a nrepl server or drop in a regular repl,
  • handle multiple connections at the same time.

Most of the work here is inspired of the implementation of borkdude's nrepl server.

Below is a more detalled todo list of what needs to be done:

  • start a basic server, listening to a predefined port,
  • add a way to deserialize requests to a rust HashMap,
  • handle the clone operation,
  • handle the eval operation,
  • figure out if we need to send some ack or not,
  • handle other necessary but still not discovered operations,
  • discuss about whether if different connections should be able to share defined functions,
  • handle proper cli (see Erkk comment on discord),
  • get testing from various people, with various setups.

If you have any question or suggestion, feel free to comment on this issue or to contact me on Discord.

@scrabsha scrabsha self-assigned this May 13, 2020
@Tko1 Tko1 added this to In progress in ClojureRS Core Board May 16, 2020
@scrabsha
Copy link
Collaborator Author

Commit 9ffcc60 adds an implementation of eval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
ClojureRS Core Board
  
In progress
Development

No branches or pull requests

1 participant