This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-07
Channels
- # admin-announcements (2)
- # arachne (1)
- # bangalore-clj (2)
- # beginners (39)
- # boot (349)
- # cider (31)
- # clara (2)
- # cljs-dev (9)
- # cljsjs (67)
- # cljsrn (7)
- # clojure (300)
- # clojure-art (4)
- # clojure-greece (11)
- # clojure-hk (3)
- # clojure-israel (1)
- # clojure-italy (17)
- # clojure-japan (1)
- # clojure-russia (33)
- # clojure-sg (2)
- # clojure-spec (41)
- # clojure-uk (86)
- # clojurescript (123)
- # clojurex (3)
- # code-reviews (1)
- # component (6)
- # crypto (1)
- # cursive (36)
- # datomic (32)
- # devcards (3)
- # emacs (11)
- # events (3)
- # funcool (4)
- # luminus (10)
- # om (28)
- # onyx (88)
- # pedestal (2)
- # re-frame (84)
- # reagent (7)
- # ring-swagger (3)
- # specter (33)
- # sql (2)
- # vim (21)
Support for self-hosted ClojureScript has landed in the test.check
repo (https://github.com/clojure/test.check/commit/ebcc57dd631e25ee39bc059899e3bbd9ddf24ee9). Ultimately, when the JAR is available, we could consider perhaps writing a small generative test for some core function and add it to the ClojureScript test suite.
working on a macro which emits compiler warnings by hooking into ana/*cljs-warnings*
, not sure if I’m doing it correctly, but it seems to work in my code - my problem is in cljs.test, where I’m getting double macro expansion calls so my warnings appear twice,
is this a bug in cljs.test that form like (is (= (my-macro args) :val))
generates code which expands my-macro twice?
fyi: here is how I hook into cljs warnings: https://github.com/binaryage/cljs-oops/blob/7afe8ef49ddb2b7c9c645492bf9211da8b727960/src/lib/oops/core.clj#L257 https://github.com/binaryage/cljs-oops/blob/master/src/lib/oops/compiler.clj
have to go now, in the meantime any pointers how to implement compile-time warnings/errors in my own macros would be appreciated, thanks
I felt like the “easy way" of printing directly to err or out would fail when people used custom warnings handlers or automating the compiler via the API
@darwin I recently logged http://dev.clojure.org/jira/browse/CLJS-1764 which might be related
Test.check
is self-host compatible => You can play with it in klipse: http://app.klipse.tech/?cljs_in.gist=viebel/c7aac39eb56f861a7091d144e0042177&external-libs=[https://raw.githubusercontent.com/clojure/test.check/master/src/main/clojure]&eval_only=1
Thanks @mfikes for making test.check
self-host compatible
The web page takes a while to load… Because the whole test.check
code is loaded from github