cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
vemv 2021-01-02T14:55:24.455100Z

> On some days I'm wondering if I should just drop everything Java-related as it's such a pain in the ass. Hope it's tongue-in-cheek ;p especially as I'm set out to solve https://github.com/clojure-emacs/cider-nrepl/issues/64 (see the last post) As a semi-related idea, if javadocs in particular are a PITA, one could indeed drop them, as they are strictly a subset of java sources. I see Orchard already does some Java source parsing. There's the com.github.javaparser package as well which might be particuarly stable

bozhidar 2021-01-02T15:45:47.456800Z

@vemv Our parser is much simpler than GitHub's - we don't really need an AST for Java sources or something like this. Orchard's Java parser extracts only the data we need for the info functionality (source locations, JavaDoc, etc).

bozhidar 2021-01-03T08:01:19.457600Z

Yeah, that's true. The only downside would be the need for a third-party dep. Part of the reason we've opted for our simpler approach is to avoid having any deps in Orchard.

vemv 2021-01-03T11:50:37.459300Z

yeah a java dep doesn't sound mranderson-able :)

bozhidar 2021-01-03T15:50:35.459500Z

It actually handles those, but Orchard doesn't use mranderson, only cider-nrepl does. And the info functionality for Clojure, Java and ClojureScript happens to live in Orchard currently.

👀 1
bozhidar 2021-01-02T15:46:04.457100Z

(and it's the thing that got broken by some changes in Java 15)

vemv 2021-01-02T15:47:31.457200Z

for clarity, I was talking about https://javaparser.org/ which artifact, oddly enough is prefixed com.github

vemv 2021-01-02T15:48:38.457400Z

what I had in mind is - you don't need javadoc if one does a simple parsing of a single source file. you get exactly the same info a javadoc would give you, right?