rewrite-clj

https://github.com/clj-commons/rewrite-clj
2019-09-28T08:54:46.002100Z

@lee does the following work for you?

(require '[rewrite-clj.zip :as rz])
  
  (let [p-zloc (-&gt; (str "<https://raw.githubusercontent.com/clojure/clojurescript/>"
                     "a760439b5084937a556712d6ee056e95f4f075c7"
                     "/src/main/cljs/cljs/test.cljs")
                 slurp
                 (rz/of-string {:track-position? true}))]
    (-&gt; p-zloc
      rz/down
      rz/string))

2019-09-28T08:55:20.002600Z

i get: > Execution error at rewrite-clj.reader/throw-reader (reader.clj:18). > :reader-macro node expects 2 values. [at line 376, column 20]

2019-09-28T09:46:53.003600Z

ah, i guess it's this: • https://github.com/xsc/rewrite-clj/issues/68https://github.com/xsc/rewrite-clj/issues/75

lread 2019-09-28T13:52:50.006900Z

Hi @sogaiu! I might as well migrate those issues and fixes over to my playground. Thanks for the reminder!

2019-09-28T14:39:51.009Z

cool. i didn't see any fixes - am i missing something?

lread 2019-09-28T15:04:55.009300Z

only that I haven’t done them yet! :simple_smile:

2019-09-28T15:10:25.009900Z

🙂 well, good luck with the fixes then 🙂

lread 2019-09-28T17:31:30.010800Z

Ok @sogaiu, I have committed a fix to the playground. Please let me know if you find any issues! :simple_smile: