From 07bf9008a0698d2ada09fe7db471adb349f1703c Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 16 Apr 2021 15:44:04 -0400 Subject: =?UTF-8?q?Specification=20for=20Catch=20(=E2=8E=8A)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/evaluate.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/evaluate.md') 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. -- cgit v1.2.3