This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-24
Channels
- # admin-announcements (2)
- # beginners (46)
- # boot (8)
- # cider (29)
- # cljs-dev (45)
- # cljsjs (10)
- # cljsrn (13)
- # clojure (60)
- # clojure-dev (5)
- # clojure-greece (1)
- # clojure-ireland (4)
- # clojure-mexico (6)
- # clojure-poland (3)
- # clojure-quebec (3)
- # clojure-russia (8)
- # clojure-spec (89)
- # clojure-uk (70)
- # clojurescript (84)
- # cursive (4)
- # datomic (7)
- # devcards (1)
- # dirac (2)
- # emacs (11)
- # hispano (10)
- # jobs (13)
- # keechma (34)
- # lein-figwheel (4)
- # luminus (19)
- # off-topic (2)
- # om (78)
- # onyx (6)
- # parinfer (1)
- # planck (82)
- # proton (2)
- # re-frame (10)
- # reagent (23)
- # ring-swagger (5)
- # spacemacs (2)
- # specter (24)
- # spirituality-ethics (122)
- # untangled (13)
this relies on some classpath things of course that I don’t have answer for wrt to bootstrap
That makes sense. (There is some precedent in other parts of CloujureScript for doing that sort of thing, I’ve noticed.)
but if you have any thoughts here happy to see patches to make the same thing work for bootstrapped
Ahh, so the bootstrapped load function may simply pass ’clojure.spec
to the bootstrapped client, unless something else is done. Yeah, I think I see where you are going.
@mfikes: the problem is that currently the resolution bit is just simpler to do directly in the compiler and conditionalize it
@dnolen: Cool. Looking forward to seeing what you produce for JVM ClojureScript as inspiration for ideas on how that might lead to stuff for bootstrapped.
@dnolen: namespaced-map support to tools.reader is almost ready, release should be by tomorrow. I'm using cljs.analyzer/*cljs-ns*
to resolve namespaces for #::foo{}
, is that ok?
no it's the same as ::foo
, they both use *ns*
. I must've forgot that the cljs version of tools.reader needs users to bind it then
both cljs & bootstrapped cljs are going to work fine as they bind *ns*
while reading AFAICT tho
@bronsa yes, big thanks!!
@bronsa Found an issue in bootstrap. This works but with a warning. Will write up a ticket:
cljs.user=> #::{:foo 1}
null is not an object (evaluating 'ns_obj.name')
{:cljs.user/foo 1}
https://github.com/clojure/clojurescript/commit/783001a6786f8dca4a13fdeadc995716903b07f9
does this mean the end of :refer-macros
?
@anmonteiro: yes if the macro ns and the runtime ns share the same name
yeah, that requirement makes sense
awesome stuff!