stred

Stred: Streaming Tree Editor. Like sed but for JSON
git clone http://shtanton.xyz/git/repo/stred
Log | Files | Refs | README

commit e98ebbad387def55d8347adb5bf45034d542cce0
parent 39f767aef901694eef14b1004b13756410f19f66
Author: Charlie Stanton <charlie@shtanton.xyz>
Date:   Wed, 26 Apr 2023 15:04:20 +0100

Document branching

Diffstat:
MREADME.md | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -274,3 +274,5 @@ With an understanding of subexes, we can look at the stred commands | `Z` | Append the contents of the value register to the Z register | | `k` | Swap the value register with the path register | | `K` | Append the contents of the value register to the path register | +| `:` | Create a label. The character after `:` is used to label this point in the program, e.g. `:a` creates a label called `a` | +| `b` | Branch to a label. The character after `b` is the label to branch to, e.g. `ba` branches to label `a` |