lumo 2018-05-19

anyone know how to use a reader to read full clojurescript source?

but i'm not sure a) if that is a "compatible library" and b) how to include dependencies like that in lumo

something like this?

(`tools.reader` is bundled with Lumo)

ooh, nice!

yep, that should do it

any idea how the following would lose the quotes around strings?:

(doseq [l (r/read-string (format "( %s )" (clojure.string/join " " file)))] (println l))
where file is a sequence of the lines of a file

this seems to be the crux of the problem:

cljs.user=> (r/read-string "(func \"blah\")")
(func "blah")
cljs.user=> (println *1)
(func blah)
nil

prn is the answer