Update older run-context code
(var going true)
# The parser object
- (var p (parser/new))
+ (def p (parser/new))
# Evaluate 1 source form in a protected manner
(defn eval1 [source]
(if (= (chunks buf p)
:cancel)
(do
- # Nil chunks represents a cancelled form in the REPL, so reset.
+ # A :cancel chunk represents a cancelled form in the REPL, so reset.
(parser/flush p)
(buffer/clear buf))
(do
