first running version

This commit is contained in:
Jan-Niclas Loosen
2026-01-22 00:18:15 +01:00
parent 36ef2fd23d
commit c66222050b
12 changed files with 529 additions and 83 deletions

View File

@@ -0,0 +1,61 @@
digraph G {
58 -> 57;
57 -> 61;
61 -> 1;
1 -> 4;
4 -> 7;
7 -> 10;
10 -> 12;
12 -> 14;
14 -> 17;
17 -> 20;
20 -> 34;
34 -> 22 [label="T"];
34 -> 32 [label="F"];
22 -> 25;
25 -> 28;
28 -> 30;
30 -> 37;
37 -> 40;
40 -> 43;
43 -> 55;
55 -> 45 [label="T"];
55 -> 2 [label="F"];
45 -> 48;
2 -> 60;
48 -> 51;
51 -> 53;
53 -> 37;
60 -> 59;
32 -> 37;
61 -> 60;
58 [label="58: None"];
57 [label="57: 3"];
61 [label="61: CALL f(3)", shape=box, style=filled, color=orange];
1 [label="1: START f(x)", shape=box, style=filled, color=green];
4 [label="4: 2"];
7 [label="7: x"];
10 [label="10: (2*x)"];
12 [label="12: x=(2*x)"];
14 [label="14: x"];
17 [label="17: 0"];
20 [label="20: (x>0)"];
34 [label="34: <>", shape=diamond];
22 [label="22: x"];
32 [label="32: x"];
25 [label="25: 1"];
28 [label="28: (x-1)"];
30 [label="30: x=(x-1)"];
37 [label="37: x"];
40 [label="40: 0"];
43 [label="43: (x>0)"];
55 [label="55: <>", shape=diamond];
45 [label="45: x"];
60 [label="60: RET f(3)", shape=box, style=filled, color=orange];
59 [label="59: None"];
48 [label="48: 1"];
51 [label="51: (x-1)"];
53 [label="53: x=(x-1)"];
2 [label="2: END f(x)", shape=box, style=filled, color=green];
}