                 (if resource
                   (let [{:keys [name lang source]} resource]
                     (condp = lang
-                      :clj (analyze* bound-vars source name opts
+                      :clj (analyze-str* bound-vars source name opts
                              (fn [res]
                                (if-not (:error res)
                                  (analyze-deps bound-vars ana-env lib (next deps) opts cb)

  [{:keys [source] :as resource}]
  (js/eval source))

(defn wrap-error [ex]
  {:error ex})

(defn empty-state


(declare ns-side-effects analyze-deps)

(defn- load-deps
  ([bound-vars ana-env lib deps cb]
   (analyze-deps bound-vars ana-env lib deps nil cb))
  ([bound-vars ana-env lib deps opts cb]
