Kibit uses a vendored copy of file/clojure-file? and find/find-clojure-sources-in-dir, to support other possible Clojure extensions like cljx. Without the ability to add more extensions like cljx we couldn't switch back, however even if they were added, it's probably not worth adding the dep for two functions.
-- Daniel Compton On Sat, 25 Jul 2015 at 2:48 PM Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > In core.typed I use *parse* and *file* to parse Clojure files and > probably ClojureScript files eventually. > > I resolve the files myself so I don't have strong opinions on 3). > > Thanks, > Ambrose > > On Sat, Jul 25, 2015 at 5:14 AM, Stuart Sierra < > the.stuart.sie...@gmail.com> wrote: > >> Hello to anyone and everyone writing tools for working with Clojure and >> ClojureScript source files … >> >> I've been looking into adding better support for ClojureScript in >> tools.namespace. >> >> It's not a trivial problem. Lots of places in tools.namespace assume >> there is only one kind of source file. For Clojure 1.7 it got updated to >> include .cljc files as well, but it's still hard-coded. I've collected some >> of my notes in TNS-35: http://dev.clojure.org/jira/browse/TNS-35 >> >> My question to you: if you maintain a tool or library which uses >> tools.namespace: >> >> 1. Do you need/want ClojureScript support? >> >> 2. What namespaces (repl, find, dir, file, parse) do you call in >> tools.namespace? >> >> 3. How would you like to distinguish between "get me Clojure sources" >> and "get me ClojureScript sources"? >> >> Note: I am **not** proposing a full port of tools.namespace to >> ClojureScript. Something like c.t.n.repl/refresh is too tightly coupled >> to JVM Clojure, and equivalent tools already exist for ClojureScript. >> >> This is just about using tools.namespace to parse and analyze the >> dependencies of ClojureScript source files, statically, the same way it now >> does for Clojure source files. >> >> Thanks, >> –S >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Daniel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.