aboutsummaryrefslogtreecommitdiff
path: root/spec/evaluate.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-16 15:44:04 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-16 15:44:04 -0400
commit07bf9008a0698d2ada09fe7db471adb349f1703c (patch)
tree693716dd901e4f96781e188763714058628b2b57 /spec/evaluate.md
parent9f437d3468c9078c46d30da68ac3821cacb045e5 (diff)
Specification for Catch (⎊)
Diffstat (limited to 'spec/evaluate.md')
-rw-r--r--spec/evaluate.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/evaluate.md b/spec/evaluate.md
index 1ef6486a..e3cd2666 100644
--- a/spec/evaluate.md
+++ b/spec/evaluate.md
@@ -6,6 +6,8 @@ This page describes the semantics of the code constructs whose grammar is given
Here we assume that the referent of each identifier, or equivalently the connections between identifiers, have been identified according to the [scoping rules](scope.md).
+Errors described in this page are "evaluation errors" and can be caught by the Catch (`⎊`) modifier. If an error is caught, evaluation halts without attempting to complete any in-progress node, and is restarted as part of the execution of Catch.
+
### Programs and blocks
The result of parsing a valid BQN program is a `PROGRAM`, and the program is run by evaluating this term.