unrepl

discussing specification of an edn-based repl and its implementations.
cgrand 2018-02-23T11:48:47.000102Z

Crude framed repl demo: (for hackday attendees)

(defn read-all [s] (let [rdr (-> s java.io.StringReader. clojure.lang.LineNumberingPushbackReader.)]
  (into [] (take-while #(not= rdr %)) (repeatedly #(read {:eof rdr} rdr)))))

(while true (doseq [form (read-all (read))] (-> form eval prn)) (prn :frame-done))

Andrea 2018-02-23T11:51:24.000002Z

@cgrand thnks a lot 🙂

cgrand 2018-02-23T16:15:44.000302Z

saying bye to :bye