Mike Fikes
Mike Fikes
A patch to make `cljs.test` usable from bootstrap has now landed. https://github.com/clojure/clojurescript/commit/28e040d41f3a83901b6391898f51c4bfc2622452 Also, a repo exists showing (at lest one way) how to use this downstream: https://github.com/mfikes/titrate So, things remaining...
Progress: 1. The `cljs.test` revisions for bootstrap have now been formally released with ClojureScript 1.8.51 2. `test.check` can be made to work with bootstrap, with work proceeding with maintainer of...
Hi Nathan, yes, the hack works. In particular for this source: ``` clojure (ns foo.core) (defmacro testme [] (if (contains? &env :locals) :cljs :clj)) ``` at the Planck REPL: ```...
I tried modifying Specter master to see how far I could get with Planck, which the experimental changes here https://github.com/mfikes/specter/commit/bdef52461970f8a8bf77b46065e0858370247cd7 - I copied `name-with-attributes` into the namespace to avoid the...
I'll see what I can figure out using `i/spy`. Another thing to consider is changing the `macros.clj` file to be conditional (cljx or cljc) so that the `macroexpand` aspect can...
The `clojure.lang.Cons` issue was fairly straightforward (and quick to pinpoint with a quick `(pst)` after it occurs): It is some Clojure-specific code in `fn-invocation?` that can be worked around: https://github.com/mfikes/specter/commit/084be5cffed623aefef9a05157bb3ae8c5506a54...
Yeah, my rough thoughts on tests: 1. A build of `test.check` needs to be available that supports bootstrap. (Either the patch in http://dev.clojure.org/jira/browse/TCHECK-105 needs to be accepted or a custom...
Hey Nathan, I tried the latest (after your changes for bootstrap). One require/alias is needed: https://github.com/mfikes/specter/commit/7b6e32ff590c8f03a5a096fb63ff0a516ea71c9a
Oh Nathan, another thing I forgot to mention regarding `test.check`: It's API (or at least its namespaces) has been revised with the latest releases (that's where the self-host patch is...
Ahh. OK. `cljx` must have different semantics than reader conditionals. (FWIW reader conditionals will take the `:cljs` branch in macro namespaces when being compiled under bootstrap, but the `:clj` branch...