Fork me on GitHub
#cljs-dev
<
2016-01-19
>
meow04:01:14

I have access to a windows 10 machine if you have a simple test I'd be happy to run it

mfikes13:01:45

@meow: ClojureScript tree generates a single JS file when you run script/test. I built ChakraCore and then ran ch.exe on that file. Interested in speed compared to the other engines tested in script/test. See https://github.com/clojure/clojurescript/wiki/Running-the-tests

mfikes13:01:49

@meow: If you don’t want to bother building anything, the ChakraCore executable and ClojureScript tests files are bundled up here: http://planck.fikesfarm.com/releases/ChakraCore/ChakraCore.zip

mfikes13:01:31

I got the SpiderMonkey executable from here (`jsshell-win64.zip`) http://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/

meow15:01:07

@mfikes: will do. need to set up a variety of things on this machine today - will test when I get to that point

richiardiandrea18:01:43

Interesting proposal (at the end) for handling range 10 in repl -> https://github.com/ScalaConsultants/replumb/issues/129 We will maybe add a case to :context as raised by @jaredly

mfikes20:01:37

FWIW, I just fixed the issue above in Planck by making it behave like the Clojure REPL (processing each readable form serially, saving balance of text for use with next line entered to form subsequent form.) With this, no special logic needed—it is essentially handled in the REPL code.

mfikes20:01:48

Concretely for the above, no change needed for cljs.js/eval-str for ”range 10”. It is just handled instead by the REPL evaluating range as an expression followed by 10 as an expression. This is what the Clojure REPL does.

jaredly20:01:58

good to know