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.

ItemValue
NameUNDO (spec document BIND UNDO)
TAG ID0x113L
Codec ID0x00001130
Spec document0x00000000/codecs/0x00001130/ (DECLARE target 1130)
Section8 1000 (Edge TOULMIN), offset within section C = 19
KindEdge · family: TOULMIN, group: execution, layout: LINK
TAG WORD0001 0001 0011 LLLL (000K KKKC CCCC LLLL)
Index descriptionThe compensating action of DO (saga). If a later step fails, it is performed in reverse order
Hugo pageedge/toulmin/link.md

Layout

The layout is LINK (ID, src, dst, flags, conditional fields, SPAN).

ItemValue
TANGEULundo fn when n
src → dstrule → FuncRef
  • dst is a FuncRef. The once of 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"