Skip to content

Instantly share code, notes, and snippets.

@cgrand
Created March 2, 2017 09:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgrand/ed07f670f2bb9bffefd44d898ccaab92 to your computer and use it in GitHub Desktop.
Save cgrand/ed07f670f2bb9bffefd44d898ccaab92 to your computer and use it in GitHub Desktop.

REPL the Ultimate Protocol: Notes for a hopefully better "tooling over repl" approach for Clojure

The single point of agreement between the server and the client should be that: there exists a stream-based plain repl running and connected (socket or pipes etc. is not relevant).

From there one can upgrade to a richer repl. The interesting fact is that since the upgrade is triggered by the client there can't be any mismatch between capabilities. Even if your editor scripting power is limited (coughvimcough) you can treat the clojure snippet required for upgrade as a blob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment