nrepl

bozhidar 2023-07-26T07:45:57.966269Z

@ingy Feel free to add it to the nREPL clients list here https://nrepl.org/nrepl/1.0/usage/clients.html

pez 2023-07-26T08:36:01.741189Z

It’s a server. 😀

Ingy döt Net 2023-07-26T12:01:39.307589Z

Lingy currently has a (hardwired, non nREPL) CLI REPL with some pretty cool features. I'll make an issue to migrate it to the nREPL model as a proper nREPL client, once the Lingy nREPL server is stable.

Ingy döt Net 2023-07-26T12:01:53.518729Z

Then we can add it to that list.

bozhidar 2023-07-26T12:02:08.175379Z

Roger that!

bozhidar 2023-07-26T12:02:32.654959Z

First I thought it was a Perl client for nREPL, so my bad!

Ingy döt Net 2023-07-26T12:04:19.330149Z

Understood. And that's what I'll make it into (distributed on CPAN as Lingy::REPL separately from Lingy) when the time is right.

Ingy döt Net 2023-07-26T13:22:17.639939Z

https://github.com/lingy-lang/lingy/issues/43

vemv 2023-07-26T16:52:37.271129Z

I wonder if spurious line/col info is a known bug / something that has ever been worked on? e.g. I'll get 1:8432 for a {:op "eval" :code "foo"} where "foo" represents a var that doesn't exist a more real-life case being Syntax error compiling at (test/orchard/misc_test.clj:1:8382) (where that file doesn't have that many columns) more context: https://github.com/clojure-emacs/cider/issues/3331#issuecomment-1652166703

bozhidar 2023-07-27T18:39:59.026879Z

We haven't touched this part of the code in a very long time (5+ years).

bozhidar 2023-07-27T18:40:27.016749Z

I recall there were some differences between JDKs, so it might be something to do with that.

👀 1
2023-07-27T18:49:54.369879Z

Not specifically related to this, but in ClojureScript everytime we re-eval a fn from tooling we lose :line and :column. I created this some days ago https://ask.clojure.org/index.php/13085/clojurescript-doesnt-respect-provided-line-column-functions with a PR to the ClojureScript compiler, if we have that when redefining fns we should be able to keep that info