From e4dc3273f201ae741637b626998637cce973546b Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Fri, 2 Oct 2026 13:04:34 -0700 Subject: First pass README updates --- chapter01/docs/01-graph.json | 14 +++++ chapter01/docs/01-graph.svg | 129 +++++++++++++++++++++++------------------ chapter01/docs/01-use-def.json | 13 +++++ chapter01/docs/01-use-def.svg | 104 ++++++++++++++++++++++----------- chapter01/docs/Makefile | 13 +---- 5 files changed, 170 insertions(+), 103 deletions(-) create mode 100644 chapter01/docs/01-graph.json create mode 100644 chapter01/docs/01-use-def.json (limited to 'chapter01/docs') diff --git a/chapter01/docs/01-graph.json b/chapter01/docs/01-graph.json new file mode 100644 index 00000000..f489c4fe --- /dev/null +++ b/chapter01/docs/01-graph.json @@ -0,0 +1,14 @@ +{ + "ver": 1, + "comp": "chapter01/docs/01-graph.svg", + "step": 1, + "roots": [], + "scope": 0, + "nodes": [ + {"id": 1, "label": "Start", "type": null, "kind": "CTRL", "edges": [], "proj": null}, + {"id": 2, "label": "#1", "type": null, "kind": "DATA", "edges": [{"idx": 0, "def": 1, "role": "ASSOC", "label": null}], "proj": null}, + {"id": 3, "label": "Return", "type": null, "kind": "CTRL", "edges": [{"idx": 0, "def": 1, "role": "CTRL", "label": null}, {"idx": 1, "def": 2, "role": "DATA", "label": null}], "proj": null} + ], + "groups": [ + ] +} diff --git a/chapter01/docs/01-graph.svg b/chapter01/docs/01-graph.svg index 7f511966..d8ec5cb7 100644 --- a/chapter01/docs/01-graph.svg +++ b/chapter01/docs/01-graph.svg @@ -1,56 +1,73 @@ - - - - - - -chapter01 - - -cluster_Nodes - - - - -Start1 - -Start - - - -Con_2 - -#1 - - - -Con_2->Start1 - - -0 - - - -Return3 - -Return - - - -Return3->Start1 - - -0 - - - -Return3->Con_2 - - -1 - - - +#2[0] → #1 · ASSOC#3[0] → #1 · CTRL#3[1] → #2 · DATAStart  #1#1 Start +Type not computed + +#1  #2#2 #1 +Type not computed + +[0] → #1 ASSOC0Return  #3#3 Return +Type not computed + +[0] → #1 CTRL +[1] → #2 DATA01 diff --git a/chapter01/docs/01-use-def.json b/chapter01/docs/01-use-def.json new file mode 100644 index 00000000..5e6f2df6 --- /dev/null +++ b/chapter01/docs/01-use-def.json @@ -0,0 +1,13 @@ +{ + "ver": 1, + "comp": "chapter01/docs/01-use-def.svg", + "step": 1, + "roots": [], + "scope": 0, + "nodes": [ + {"id": 1, "label": "A", "type": null, "kind": "DATA", "edges": [{"idx": 0, "def": 2, "role": "DATA", "label": null}], "proj": null}, + {"id": 2, "label": "B", "type": null, "kind": "DATA", "edges": [], "proj": null} + ], + "groups": [ + ] +} diff --git a/chapter01/docs/01-use-def.svg b/chapter01/docs/01-use-def.svg index 644ab5a2..b0ecd3da 100644 --- a/chapter01/docs/01-use-def.svg +++ b/chapter01/docs/01-use-def.svg @@ -1,35 +1,69 @@ - - - - - - -chapter01 - - -cluster_Nodes - - - - -A - -A - - - -B - -B - - - -A->B - - - - - +#1[0] → #2 · DATAA  #1#1 A +Type not computed + +[0] → #2 DATA0B  #2#2 B +Type not computed + + diff --git a/chapter01/docs/Makefile b/chapter01/docs/Makefile index 12659b8f..6fa0f057 100644 --- a/chapter01/docs/Makefile +++ b/chapter01/docs/Makefile @@ -1,12 +1 @@ -GV := $(wildcard *.gv) -SVG := $(patsubst %.gv,%.svg,$(GV)) - -.PHONY: all -all: $(SVG) - -%.svg: %.gv - dot -Tsvg $< > $@ - -.PHONY: clean -clean: - @rm -f $(SVG) +include ../../graph/docs.mk -- cgit v1.2.3