From f09116476aaf44a8891760ad425d295c3159378d Mon Sep 17 00:00:00 2001 From: HAYAMA_Kaoru Date: Sun, 8 Dec 2024 13:09:39 +0900 Subject: [PATCH] README: add the description about `(block)`, `(return-from)`, and `(with-handler)` --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 342ad4b..9bcfdef 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,12 @@ Parameters enclosed in curly braces {...} are optional and can be omitted. - The path of the executable of lispect - `MATCH` - The matching string in the block of `(expect*)` +- `(block NAME FORM...)` and `(return-from NAME RESULT-FORM)` + - Non-local exits. See also [ISLISP draft - 14.7. Non-local exits](https://islisp-dev.github.io/ISLispHyperDraft/islisp-v23.html#non_local_exits) +- `(with-handler HANDLER FORM...)` + - When an error occurs in `FORMS...`, call `HANDLER`. + See also [ISLISP Draft - Operations relating to condition handling](https://islisp-dev.github.io/ISLispHyperDraft/islisp-v23.html#s_with_handler) + Other functions are defined on [ISLisp]