   "Parse a raw JSC stack representation, parsing it into stack frames.
   The canonical stacktrace must be a vector of maps of the form
   {:file <string> :function <string> :line <integer> :column <integer>}."
-  [raw-stacktrace]
+  [raw-stacktrace opts]
   (->> raw-stacktrace
     string/split-lines
-    (map stack-line->canonical-frame)
+    (map #(stack-line->canonical-frame % opts))
     (remove nil?)
     vec))
 

            {:status (keyword (:status result))
             :value  (:value result)}
            (when-let [raw-stacktrace (:stacktrace result)]
              {:stacktrace (raw-stacktrace->canonical-stacktrace raw-stacktrace)})))))))

(defn load-javascript
  "Load a Closure JavaScript file into the JSC REPL process."

               (aget (.. js/goog -dependencies_ -nameToPath) name))))))))

(defrecord JscEnv [host port socket response-promise]
  repl/IParseStacktrace
  (-parse-stacktrace [this stacktrace opts]
    (raw-stacktrace->canonical-stacktrace stacktrace opts))
  repl/IJavaScriptEnv
  (-setup [this opts]
    (setup this opts))
