From a874fc9aa80b34240911a2d63cf5ac3f7adb6b46 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 31 Oct 2023 23:22:36 +0100 Subject: [PATCH] Update for Preserves 0.991 --- src/operation/scripting.md | 22 ++++++++++----------- src/protocols/preserves/path.md | 34 ++++++++++++++++---------------- src/protocols/synit/modem.md | 6 +++--- src/protocols/synit/network.md | 12 +++++------ src/protocols/synit/telephony.md | 6 +++--- 5 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/operation/scripting.md b/src/operation/scripting.md index f1d466a..a2f9584 100644 --- a/src/operation/scripting.md +++ b/src/operation/scripting.md @@ -43,10 +43,10 @@ manifests as the need for *some non-comment following every comment*. In scripts date, often an empty *SequencingInstruction* serves to anchor comments at the end of a file: ```preserves -; A comment -; Another comment -; The following empty sequence is needed to give the comments -; something to attach to +# A comment +# Another comment +# The following empty sequence is needed to give the comments +# something to attach to [] ``` @@ -456,15 +456,15 @@ it, and then passing it to somewhere else is a useful trick for creating scripte to respond to a few different kinds of assertion or message: ```preserves -let ?ds = dataspace ; create the dataspace +let ?ds = dataspace # create the dataspace -$config += ; send it to peers for them to use +$config += # send it to peers for them to use -$ds [ ; select $ds as the active target for `DuringInstruction`s inside the [...] - ? pat1 [ ... ] ; respond to assertions of the form `pat1` - ? pat2 [ ... ] ; respond to assertions of the form `pat2` - ?? pat3 [ ... ] ; respond to messages of the form `pat3` - ?? pat4 [ ... ] ; respond to messages of the form `pat4` +$ds [ # select $ds as the active target for `DuringInstruction`s inside the [...] + ? pat1 [ ... ] # respond to assertions of the form `pat1` + ? pat2 [ ... ] # respond to assertions of the form `pat2` + ?? pat3 [ ... ] # respond to messages of the form `pat3` + ?? pat4 [ ... ] # respond to messages of the form `pat4` ] ``` diff --git a/src/protocols/preserves/path.md b/src/protocols/preserves/path.md index 2595c9f..de4d169 100644 --- a/src/protocols/preserves/path.md +++ b/src/protocols/preserves/path.md @@ -30,16 +30,16 @@ and will yield an empty result set when applied to any other kind of input. ```preserves-schema Axis = -/ ;; yields the immediate subvalues of the input nonrecursively -/ ;; recurses through all descendant subvalues of the input -/ ;; extracts a subvalue named by the given key, if any -/