 (defn- camelize-keys
   ^java.util.Map [m]
   (let [f (fn [[k v]] (if (keyword? k) [(camel-case k) v] [k v]))]
-    ;; only apply to maps
     (walk/postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m)))
 
 (def ^:private content-kind

    (.. builder (build) (compileToTofu))))

(defn parse
  "Given the filename (or a vector of filenames) of a Closure template on the
  classpath, parses the templates and returns a compiled set of templates."
  [file-or-files]
  (let [files (vec (flatten (vector file-or-files)))]

  (atom (cache/lu-cache-factory {})))

(defn set-cache
  "Sets the cache for parsed templates."
  [cache]
  (reset! template-cache cache))

