UNDO is the LINK Codec that writes a relation of a TOULMIN graph. Meaning: the compensating action of DO (saga). If a later step fails, it is performed in reverse order.
| Item | Value |
|---|---|
| Name | UNDO (spec document BIND UNDO) |
| TAG ID | 0x113L |
| Codec ID | 0x00001130 |
| Spec document | 0x00000000/codecs/0x00001130/ (DECLARE target 1130) |
| Section | 8 1000 (Edge TOULMIN), offset within section C = 19 |
| Kind | Edge · family: TOULMIN, group: execution, layout: LINK |
| TAG WORD | 0001 0001 0011 LLLL (000K KKKC CCCC LLLL) |
| Index description | The compensating action of DO (saga). If a later step fails, it is performed in reverse order |
| Hugo page | edge/toulmin/link.md |
Layout
The layout is LINK (ID, src, dst, flags, conditional fields, SPAN).
| Item | Value |
|---|---|
| TANGEUL | undo fn when n |
| src → dst | rule → FuncRef |
- dst is a FuncRef. The
onceof UNDO is written as F_ONCE in flags. - F_FORCE is not used (it is rejected if turned on).
- The common fields (ID, REF, SPAN) and the numeric rules follow TOULMIN.
Codec document
The Codec document holds a DECLARE (target 1130). The conditional fields of the LINK layout and the SPAN width set by SOURCE cannot be declared with FIELD, so the field declaration is an open problem (TOULMIN).
Related pages
Spec document source
This is the spec document 0x00000000/codecs/0x00001130/latest.geul as read with geul show (hexadecimal in uppercase).
SPEC-VERSION 0x0001
DOC-ID 0x0426000000000000113000000000
BODY
#1 DECLARE 0x1130
#2 BIND #1 "UNDO"