From 41ae6269689e2b3cde9f7ac4227923d4085dceda Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Fri, 2 Oct 2026 16:21:02 -0700 Subject: More better layout ch10a,b,11 --- chapter10b/docs/lattice.svg | 296 ++++++++++++++++++++++++-------------------- 1 file changed, 160 insertions(+), 136 deletions(-) (limited to 'chapter10b/docs/lattice.svg') diff --git a/chapter10b/docs/lattice.svg b/chapter10b/docs/lattice.svg index ff554601..8d2e2875 100644 --- a/chapter10b/docs/lattice.svg +++ b/chapter10b/docs/lattice.svg @@ -4,123 +4,123 @@ - - + + Lattice - + cluster_control - -Control + +Control cluster_integer - -Integer + +Integer cluster_pointer - -Pointer = nullability × struct type + +Pointer = nullability × struct type cluster_struct - -Struct -named collection of named scalar types + +Struct +named collection of named scalar types cluster_memory - -Memory -precise alias slices + +Memory +precise alias slices cluster_tuple - -Tuple -collection of types + +Tuple +collection of types TOP - -⊤ + +⊤ XCTRL - -⊤:ctrl + +⊤:ctrl TOP->XCTRL - - + + INT_TOP - -⊤:int + +⊤:int TOP->INT_TOP - - + + PTR_TOP - -⊤:ptr -[*⊤:struct] + +⊤:ptr +[*⊤:struct] TOP->PTR_TOP - - + + STRUCT_TOP - -⊤:struct -[struct top] + +⊤:struct +[struct top] TOP->STRUCT_TOP - - + + MEM_TOP - -⊤:mem + +⊤:mem TOP->MEM_TOP - - + + TUPLE_TOP - -⊤:tuple + +⊤:tuple TOP->TUPLE_TOP - - + + @@ -137,7 +137,7 @@ XCTRL->CTRL - + @@ -150,38 +150,38 @@ INT_NEG - -… −2, −1 + +… −2, −1 INT_TOP->INT_NEG - - + + INT_ZERO - -0 + +0 INT_TOP->INT_ZERO - - + + INT_POS - -1, 2, … + +1, 2, … INT_TOP->INT_POS - - + + @@ -199,70 +199,70 @@ INT_NEG->INT_BOT - - + + INT_ZERO->INT_BOT - - + + INT_POS->INT_BOT - - + + PTR_NULL - -null + +null PTR_TOP->PTR_NULL - - + + PTR_PERSON - -*Person + +*Person PTR_TOP->PTR_PERSON - - + + PTR_S1 - -*s1 + +*s1 PTR_TOP->PTR_S1 - - + + PTR_MORE - -*s2, … + +*s2, … PTR_TOP->PTR_MORE - - + + @@ -287,8 +287,8 @@ PTR_NULL->PTR_PERSON_NIL - - + + @@ -299,8 +299,8 @@ PTR_NULL->PTR_S1_NIL - - + + @@ -311,8 +311,8 @@ PTR_NULL->PTR_MORE_NIL - - + + @@ -331,41 +331,41 @@ PTR_PERSON->PTR_ANY - - + + PTR_PERSON->PTR_PERSON_NIL - - + + PTR_S1->PTR_ANY - - + + PTR_S1->PTR_S1_NIL - - + + PTR_MORE->PTR_ANY - - + + PTR_MORE->PTR_MORE_NIL - - + + @@ -397,8 +397,8 @@ STRUCT_TOP->STRUCT_PERSON - - + + @@ -410,8 +410,8 @@ STRUCT_TOP->STRUCT_S1 - - + + @@ -423,8 +423,8 @@ STRUCT_TOP->STRUCT_S2 - - + + @@ -435,8 +435,8 @@ STRUCT_TOP->STRUCT_MORE - - + + @@ -488,8 +488,8 @@ MEM_TOP->MEM_ALIAS2 - - + + @@ -500,8 +500,8 @@ MEM_TOP->MEM_ALIAS3 - - + + @@ -512,8 +512,8 @@ MEM_TOP->MEM_MORE - - + + @@ -551,70 +551,94 @@ TUPLE1 - -(type) + + + +tuple + + +type TUPLE_TOP->TUPLE1 - - + + TUPLE2 - -(type, type) + + + +tuple + + +type + + +type TUPLE_TOP->TUPLE2 - - + + TUPLEN - -(type, …) + + + +tuple + + +type + + +… + + +type TUPLE_TOP->TUPLEN - - + + TUPLE_BOT - -⊥:tuple + +⊥:tuple TUPLE_BOT->BOT - - + + TUPLE1->TUPLE_BOT - - + + TUPLE2->TUPLE_BOT - - + + TUPLEN->TUPLE_BOT - - + + -- cgit v1.2.3