aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/interpreter.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/tool/interpreter.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/tool/interpreter.lux b/stdlib/source/library/lux/tool/interpreter.lux
index 79c8073f3..85020815f 100644
--- a/stdlib/source/library/lux/tool/interpreter.lux
+++ b/stdlib/source/library/lux/tool/interpreter.lux
@@ -135,10 +135,10 @@
<Interpretation>
(interpret_directive code)))
- (#try.Success [state' output])
- (#try.Success [state' output])
+ {#try.Success [state' output]}
+ {#try.Success [state' output]}
- (#try.Failure error)
+ {#try.Failure error}
(if (ex.match? total.not_a_directive error)
(<| (phase.result' state)
(:sharing [anchor expression directive]
@@ -147,7 +147,7 @@
<Interpretation>
(interpret_expression code)))
- (#try.Failure error)))))
+ {#try.Failure error}))))
)
(def: (execute configuration code)
@@ -218,12 +218,12 @@
(text\= ..exit_command line))
(\ Console<!> write ..farewell_message)
(case (read_eval_print (revised@ #source (add_line line) context))
- (#try.Success [context' representation])
+ {#try.Success [context' representation]}
(do !
[_ (\ Console<!> write representation)]
(recur context' #0))
- (#try.Failure error)
+ {#try.Failure error}
(if (ex.match? syntax.end_of_file error)
(recur context #1)
(exec (log! (ex.error ..error error))