This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-17
Channels
- # bangalore-clj (2)
- # beginners (51)
- # boot (20)
- # cider (14)
- # clara (1)
- # cljs-dev (14)
- # cljsrn (50)
- # clojure (140)
- # clojure-dev (5)
- # clojure-france (1)
- # clojure-gamedev (3)
- # clojure-italy (4)
- # clojure-poland (3)
- # clojure-russia (8)
- # clojure-sg (1)
- # clojure-spec (64)
- # clojure-uk (51)
- # clojurescript (54)
- # core-typed (1)
- # data-science (2)
- # datomic (61)
- # docker (1)
- # emacs (6)
- # events (1)
- # graphql (1)
- # hoplon (14)
- # leiningen (8)
- # luminus (3)
- # mount (6)
- # off-topic (18)
- # om (17)
- # parinfer (34)
- # pedestal (47)
- # play-clj (1)
- # protorepl (1)
- # re-frame (56)
- # reagent (11)
- # ring-swagger (5)
- # rum (6)
- # sql (1)
- # uncomplicate (2)
- # vim (3)
- # yada (31)
:npm-deps
finishing touches I’d like to see https://dev.clojure.org/jira/browse/CLJS-2255
@dnolen does it make sense to propose expanding dotted symbols in the analyzer to :dot nodes?
It seems it would at least be useful to expand locals(?). I don't really understand how global/js dotted variables work.
@ambrosebs I just need more information on what you’re trying to accomplish?
@juhoteperi I made bunch of minor edits to the post - if we can get those in would like publish tomorrow if possible
@dnolen as far as I understand, dotted symbols are shorthand for field accesses in CLJS. My hunch was that consumers of the AST format (like core.typed) would rather process an AST with :dot nodes containing a :var node, than just a :var node with an implicit field access. I'm just not familiar enough with CLJS's emission to JS to understand when/if this might be useful for tools.
@ambrosebs hrm will think about this and get back to you - if you want to open a enhancement ticket to track this, go for it
@dnolen thanks. Would you consider the tools.analyzer enhancements in smaller patches? I have a unit of work that I'm making into a nice patch to review, but it's not "done". I don't want it to linger for another year.
the first unit of work might just change :op's and :children to be more consistent, plus cosmetic renames of keys (:expr -> :body) plus the internal fixes needed to the compiler.
I created a ticket for the dotted var discussion https://dev.clojure.org/jira/browse/CLJS-2257