This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (1)
- # announcements (1)
- # beginners (17)
- # boot (29)
- # cider (8)
- # clojure (87)
- # clojure-czech (2)
- # clojure-nl (2)
- # clojure-russia (108)
- # clojurebridge (9)
- # clojurescript (34)
- # cursive (5)
- # datascript (15)
- # devcards (14)
- # editors (6)
- # hoplon (121)
- # jobs (7)
- # ldnclj (22)
- # onyx (2)
- # re-frame (31)
- # reagent (43)
- # testing (2)
anyobody familiar with
cljs/repl.cljc? I'm trying to understand how does the file get compiled by ClojureScript when it depends on java without using #? anywhere.
@bensu that file should probably go back to
.clj, I thought it would be worth porting - no longer think that
@dnolen: thanks, that's what I thought. I'm working on porting the remaining tools.namespace ns to cljs on node.
I'm missing a
File abstraction, is there something like a
defrecord File that I could piggieback on?
@bensu there is no
File abstraction in ClojureScript or really anything I/O related at all
@dnolen: thanks! I'm on my own then. I just didn't want and start implementing stuff only to find better abstractions later.
@bensu there’s no I/O stuff as we talked about before, there’s nothing that ties together the vast array of JS runtimes
not saying we shouldn’t come up with something up but as I said before this is a really a big discussion that probably needs serious design effort with feedback from the Clojure team as well
I agree, I'll start by looking at this https://github.com/mfikes/planck/blob/master/planck-cljs/src/planck/io.cljs
I'm not going to push anything on to the compiler, just report back (to the wiki) whenever I find new problems/solutions while I port
@bensu: I added naïve support for analysis and compilation caching to Planck, where it isn't very clever about cache invalidation. A ClojureScript port of
tools.namespace would probably be useful for problems like that one. :)
:module-type option for
:foreign-libs available in
1.7.122? I’m having trouble seeing definitively from the changes themselves.
tools.namespaces in cljs opens a lot of doors. I'm hoping I can abstract all of the IO behind a set of abstractons that can be used from something like
but it is too early to tell
@bensu: I wonder if Joel Martin came up with abstractions for his bootstrapped node REPL.
@jgdavey: the module stuff is still under development, it's still mostly experimental as we sort out quite a few issues
@bensu: I like how this was foreshadowed in the April 2014 Cognicast episode. (37 min 40 sec)
@mfikes: haha I was there, just listening to 36 instead of 37 and scratching my head. I don't know how did you pull out that reference.