This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-10
Channels
- # beginners (356)
- # boot (4)
- # cider (44)
- # cljs-dev (73)
- # cljsrn (19)
- # clojars (5)
- # clojure (57)
- # clojure-brasil (2)
- # clojure-italy (1)
- # clojure-russia (9)
- # clojure-spec (9)
- # clojured (3)
- # clojurescript (15)
- # cursive (19)
- # datomic (10)
- # duct (3)
- # emacs (4)
- # events (1)
- # fulcro (5)
- # immutant (12)
- # keechma (3)
- # lein-figwheel (4)
- # lumo (2)
- # parinfer (11)
- # planck (4)
- # re-frame (3)
- # reagent (5)
- # reitit (1)
- # shadow-cljs (5)
- # spacemacs (6)
@royalaid So, no, sorry, but lots of people are asking about it. I’ll try to do this soon.
@carr0t It can’t at the moment sorry, I was planning to add this in the last EAP series but I didn’t get to it.
@jjfine So that sounds like a bug - it shouldn’t be in your External Libraries if it’s not in your project file.
@rauh When you see that behaviour, is the pedestal lib still in your External Libraries?
Ok, that probably means that there’s an example of pedestal.logging :as log
in a dependency somewhere, perhaps in Pedestal itself. I’ll look into weighting the suggestions, with priority given to uses from project code over libraries.
@genekim BTW see here: https://cursive-ide.com/userguide/troubleshooting.html under “Unresolved symbols from clojure.core when sending forms to REPL”
@cfleming is the parser api you showed in your macro-error talk from a few years ago available anywhere? Looking at that defn-pattern slide and trying to reverse engineer your api with instaparse is getting pretty nasty. I believe it’s called error-test on https://dev.clojure.org/display/design/Macro+Grammars
@snoe Sort of, see here: https://github.com/cursive-ide/error-test
In particular, as the README notes, that version of the grammar definition was a failed experiment.
I’m actually just about to switch to a new parser, I’ve had it lurking in a branch for a while now but have not had time to integrate it. It’s based on the regexp VM approach here: https://swtch.com/~rsc/regexp/regexp2.html
In my benchmarks, it’s considerably (~10x) faster than spec: https://gist.github.com/cursive-ide/d7e490bd875d575ff485518195aa1e19
I need to try it on more examples, but I don’t think those are pathological in any way.
Thanks a bunch, my google-fu totally failed me there 😛 I’ve been hacking today towards a clojure languageserver protocol implementation today and my respect for the static analysis cursive does is just growing by the hour.