From 6fb92d5384ba944b2d6a9c5066a08b41a8ef555f Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 15:17:21 -0300 Subject: design: a language of named blocks; the lens as a band over the whole context The README is now the catalogue: atoms, rows, panels, ties, the frame and the verbs, each block specified once under the name the code uses, with rules of composition and what is forbidden. From the user's notes on the context mocks: a lens is a band across the top, its drawing on the left and the bytes it is drawn from on the right, a hexdump with each field's bytes marked and read at the row's end; the disassembly is seventeen rows in address order with a source-line column and an annotation for what each row read, set or jumped to; a register is pinned to the node it points at by name; hex is unbroken; and four kinds of tie say which pane is a view of which (thread, link, projection, echo). --- design/mock/03-syscall-write.svg | 232 +++++++++++++++++++-------------------- 1 file changed, 116 insertions(+), 116 deletions(-) (limited to 'design/mock/03-syscall-write.svg') diff --git a/design/mock/03-syscall-write.svg b/design/mock/03-syscall-write.svg index 5be4d5b..56cd2b2 100644 --- a/design/mock/03-syscall-write.svg +++ b/design/mock/03-syscall-write.svg @@ -50,94 +50,94 @@ x86-64 -0 -0 -0 -0 -5 +0 +0 +0 +0 5 -d -4 -a -1 -c -0 +5 +d +4 +a +1 +c +0 1 1 5 c rip - - -0 -0 -0 -0 + + +0 +0 +0 0 0 0 0 -0 -0 -0 -0 +0 +0 +0 +0 +0 0 0 0 1 rax - - -0 -0 -0 -0 + + +0 +0 +0 0 0 0 0 -0 -0 -0 -0 +0 +0 +0 +0 +0 0 0 0 1 rdi - - -0 -0 -0 -0 -5 + + +0 +0 +0 +0 5 -d -4 -a -1 -c -0 +5 +d +4 +a +1 +c +0 2 0 0 4 rsi - - -0 -0 -0 -0 + + +0 +0 +0 0 0 0 0 -0 -0 -0 -0 +0 +0 +0 +0 +0 0 0 0 @@ -155,68 +155,68 @@ memory read-only data a1c0 -2004 - -H -48 - -e -65 - -l -6c - -l -6c - -o -6f - -, -2c - - -20 - -w -77 +2004 + +H +48 + +e +65 + +l +6c + +l +6c + +o +6f + +, +2c + + +20 + +w +77 a1c0 -200c - -o -6f - -r -72 - -l -6c - -d -64 - -! -21 - -\n -0a - -00 - - - - -14 bytes, read by the kernel +200c + +o +6f + +r +72 + +l +6c + +d +64 + +! +21 + +\n +0a + +00 + + + + +14 bytes, read by the kernel user kernel syscall - - - -the bytes + + + +the bytes what it runs @@ -239,14 +239,14 @@ 5 d 4 -a -1 -c -0 -2 +a +1 +c +0 +2 +0 0 -0 -4 +4 rdx count -- cgit v1.3