This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-09
Channels
- # aws (4)
- # bangalore-clj (1)
- # beginners (94)
- # boot (19)
- # cider (42)
- # cljs-dev (21)
- # cljsrn (4)
- # clojure (142)
- # clojure-austin (10)
- # clojure-greece (25)
- # clojure-italy (14)
- # clojure-russia (14)
- # clojure-serbia (13)
- # clojure-sg (6)
- # clojure-spec (74)
- # clojure-uk (69)
- # clojurescript (236)
- # consulting (1)
- # cursive (26)
- # data-science (6)
- # datascript (2)
- # datomic (31)
- # editors (5)
- # emacs (24)
- # funcool (5)
- # hoplon (8)
- # jobs-rus (1)
- # luminus (12)
- # lumo (17)
- # off-topic (90)
- # om (45)
- # onyx (5)
- # pedestal (2)
- # powderkeg (12)
- # protorepl (2)
- # re-frame (30)
- # remote-jobs (2)
- # ring-swagger (17)
- # rum (46)
- # slack-help (1)
- # test-check (2)
- # yada (62)
Hey all 🙂 I need to transform some personal legacy data in XML to something else… Are there any facilities bundled with lumo that can parse XML?
Closure must have something but I can’t find it…
@martinklepsch goog/dom.xml
?
@john yeah … that doesn’t work because you cannot create DOM nodes in node
And clojure.data.xml doesn’t work either. @anmonteiro is that renaming of clojure->cljs a bug maybe? I remember a convo that this could be automated…
(require 'clojure.data.xml)
#error {:message No such namespace: cljs.data.xml, could not locate cljs/data/xml.cljs, cljs/data/xml.cljc, or Closure namespace "cljs.data.xml" in file clojure/data/xml/name.cljc, :data {:tag :cljs/analysis-error}}
WARNING: Use of undeclared Var clojure.data.xml.impl$macros/eval at line 36 clojure/data/xml/impl.clj
To reproduce
boot -d org.clojure/data
lumo -c ~/.m2/repository/org/clojure/data.xml/0.2.0-alpha2/data.xml-0.2.0-alpha2.jar
it does seem like a great fit eventuallly
One issue is that when you need to consume dependencies, lumo can still be quite slow to start up
with a linter you really want <1000ms latency
how do i use external cljs libs with lumo? I'm using an andare.jar already, but i'm not sure how to use https://github.com/r0man/cljs-http from source,
@rmturner Also you can use this technique: http://blog.michielborkent.nl/blog/2016/10/19/one-off-clojure-libraries/ (see Planck, works also for Lumo I think)