(parse content)

Source

(defn parse [content] (let [res (s/conform :edna.parse/subscore content)] (if (= res :clojure.spec.alpha/invalid) (throw (#?(:clj Exception. :cljs js/Error.) (expound/expound-str :edna.parse/subscore content))) res)))