You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/platforms/clojureclr.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,27 +2,27 @@
2
2
3
3
== Current Status
4
4
5
-
ClojureCLR on CIDER is not great due to the lack of a fully-functional nREPL
6
-
server for ClojureCLR. There are currently two options:
5
+
You will get basic CIDER functionality with ClojureCLR. Three nREPL server options:
7
6
8
-
- https://github.com/clojure/clr.tools.nrepl[clr.tools.nrepl]: A direct (but incomplete) port of the reference Clojure nREPL server.
7
+
- https://github.com/clojure/clr.tools.nrepl[clr.tools.nrepl]: At present port of babashka's nREPL server (https://github.com/babashka/babashka.nrepl[babashka.nrepl]).
8
+
- https://github.com/clojure/clr.tools.nrepl/tree/master/partial-nrepl-nrepl-port[port of nrepl/nrepl]: A non-working, work-in-progress port of nrepl/nrepl, which may
9
+
ultimately better integrate with CIDER once CIDER's middleware (cider-nrepl) is also adapted/ported.
9
10
- https://github.com/arcadia-unity/Arcadia/blob/master/Editor/NRepl.cs[Arcadia's nREPL]: A basic, but working nREPL implementation in C#.
10
11
11
-
If you need to use CIDER with ClojureCLR today Arcadia's nREPL is your only usable option. That being said - `clr.tools.nrepl` is a much
12
-
more sophisticated project and ideally we should get it over to the finish line.
12
+
An alternative to CIDER & a nREPL server is inf-clojure with ClojureCLR's stock socket REPL server.
13
13
14
14
== Usage
15
15
16
16
NOTE: Contributions welcome!
17
17
18
-
As `cider-jack-in` doesn't support ClojureCLR projects out-of-the-box currently, you'll need to start an nREPL server externally and
19
-
connect to it with `cider-connect`.
18
+
`cider-jack-in-universal` will jack into a clr.tools.nrepl server as long as a `deps-clr.edn` file
19
+
exists in the project directory, otherwise you may call `cider-jack-in-universal` with prefix
20
+
argument 6, by either `M-6` or `C-u 6` followed by `M-x cider-jack-in-universal`.
20
21
21
22
== Plans
22
23
23
24
In an ideal world we'll achieve the following objectives:
24
25
25
-
- out-of-the-box ClojureCLR support with `cider-jack-in`
26
26
- feature parity between Clojure's nREPL implementation and `clr.tools.nrepl` (the project can use some help)
27
27
- adapting `cider-nrepl` for ClojureCLR (some of its codebase is JVM-specific)
0 commit comments