 (defmethod parse-ns ["repl-options" :options] [ns- api]
   (binding [*cur-ns* ns-]
     (doall (cons (pseudo-ns-item ns-) (option-items repl-options)))))
+
+(defmethod parse-ns ["warnings" :options] [ns- api]
+  (binding [*cur-ns* ns-]
+    (doall (warning-items))))
+
+(defmethod parse-ns ["closure-warnings" :options] [ns- api]
+  (binding [*cur-ns* ns-]
+    (doall (closure-warning-items))))
 
 (defmethod parse-ns [:default :library] [ns- api]
   (parse-ns* ns- "clojurescript" :library))

(create-ns 's)
(create-ns 'stc)

;; current namespace and repo that we are parsing.
(def ^:dynamic *cur-ns*)
(def ^:dynamic *cur-repo*)


   :options
   {"compiler-options"      :custom ;; pseudo-namespaces for options
    "repl-options"          :custom
    "warnings"              :custom
    "closure-warnings"      :custom}

   :library
   {"cljs.pprint"           :normal
