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/04-malloc-glibc-musl.svg | 208 +++++++++++++++++------------------ 1 file changed, 104 insertions(+), 104 deletions(-) (limited to 'design/mock/04-malloc-glibc-musl.svg') diff --git a/design/mock/04-malloc-glibc-musl.svg b/design/mock/04-malloc-glibc-musl.svg index a2c1ca0..1e015f6 100644 --- a/design/mock/04-malloc-glibc-musl.svg +++ b/design/mock/04-malloc-glibc-musl.svg @@ -46,79 +46,79 @@ inside b -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -2 -1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +1 size of this chunk -0 -0 -0 -0 -0 -0 -0 -5 -5 -d -4 -a -1 -c -0 -3 +0 +0 +0 +0 +0 +0 +0 +5 +5 +d +4 +a +1 +c +0 +3 next free chunk: none -8 -f -3 -a -6 -1 -c -2 -d -0 -7 -b -4 -e -1 -9 +8 +f +3 +a +6 +1 +c +2 +d +0 +7 +b +4 +e +1 +9 key marks it freed -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -2 -a +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +a your old data 0x20 @@ -177,50 +177,50 @@ -f -f -0 -0 -0 -0 -0 -0 +f +f +0 +0 +0 +0 +0 +0 its tag, cleared -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -2 -a +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +a your old data, -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 all of it untouched can hand out -- cgit v1.3