Hello!
I am having an issue, and it apparently comes from nREPL.
If I have a namespace form within a string, nREPL is confused about the namespace and the code breaks.
So:
`(do-stuff "some
(ns foo)")`
Will fail, with an error about do-stuff not being found. Is there a way around this issue?
Thanks for your help!
More context in https://clojurians.slack.com/archives/C053AK3F9/p1731316840829579 tread.
Hi, my repl just told me that I need libnrepl JVMTI agent. I am on FreeBSD. I tweaked the Makefile and built it with clang. I installed it with lein install. Thank you for perfect documentation!!!! Just one thing: How do I test it?
1. Execute (while true) in the REPL.
2. Open htop to see that java process uses 100% of the CPU (1 core)
3. Do C-c C-b in Emacs to cancel the execution and check that CPU utilization is gone.
And all of that running JDK 21 or higher, of course
Thanks!!! Great idea! It trys to load the linux.so instead of the freebsd.so 😞
Yeah, I see now that the heuristic it uses is pretty dumb
Since you already install a custom build, just replace res/libnrepl-linux-x64.so with your binary and install again
Jep! That will work here but can not be upstreamed.
I wouldn't mind including FreeBSD target if Github Actions had a runner to build it. Either that, or you could insvestigate how it can be cross-compiled from a linux box.
But we don't want the binaries to be reproducible, basically
Sorry, brain fluke above
As a first step I will try to be able to lein install on FreeBSD. FreeBSD folks have tried to work with CI-providers to provide cross-compilation but there was no interest. I will research a bit.
hmm. looks like things are changing. clang might be able to do it from linux. I confused CI Runs and cross compilation.
https://github.com/actions/runner-images/discussions/7109 includes quote: https://github.com/mikhailkoliada https://github.com/actions/runner-images/discussions/7109#discussioncomment-4989251https://github.com/Thefrank Hello! We do not accept contributions for OSes other than Ubuntu/Windows/macOS
This works on my machine. https://github.com/markusalbertgraf/nrepl
If you manage to set up building it on CI, I'll gladly welcome a PR :)