xplshn
·
2025-08-13
.matrixMath.bx.json
Text
1{
2 "binary_path": "/tmp/gtest-3087621747/f6bfb35d69b7af1",
3 "compile": {
4 "stdout": "----------------------\nTokenizing 1 source file(s) (Typed Pass: true)...\nParsing tokens into AST...\nConstant folding...\nType checking...\nQBE Codegen...\nCalling libqbe on our QBE IR...\nAssembling and linking to create '/tmp/gtest-3087621747/f6bfb35d69b7af1'...\n----------------------\nCompilation successful!\n",
5 "stderr": "gbc: info: no target specified, defaulting to host target 'amd64_sysv'\n",
6 "exitCode": 0,
7 "duration": 58934128,
8 "timed_out": false
9 },
10 "runs": [
11 {
12 "name": "fold",
13 "args": [
14 "09876543210123456789009887654321012345678900987654321098765432101234567890098876543210123456789009876543210\n"
15 ],
16 "result": {
17 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
18 "stderr": "",
19 "exitCode": 0,
20 "duration": 480603,
21 "timed_out": false
22 }
23 },
24 {
25 "name": "fold2",
26 "args": [
27 "098765432101234567890098876543210123456789009876543210\n"
28 ],
29 "result": {
30 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
31 "stderr": "",
32 "exitCode": 0,
33 "duration": 439486,
34 "timed_out": false
35 }
36 },
37 {
38 "name": "hashTable",
39 "args": [
40 "s foo 10\ns bar 50\ng\ng foo\ng bar\np\nq\n"
41 ],
42 "result": {
43 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
44 "stderr": "",
45 "exitCode": 0,
46 "duration": 388710,
47 "timed_out": false
48 }
49 },
50 {
51 "name": "no_args",
52 "result": {
53 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
54 "stderr": "",
55 "exitCode": 0,
56 "duration": 345615,
57 "timed_out": false
58 }
59 },
60 {
61 "name": "numeric_arg_0",
62 "args": [
63 "0"
64 ],
65 "result": {
66 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
67 "stderr": "",
68 "exitCode": 0,
69 "duration": 346734,
70 "timed_out": false
71 }
72 },
73 {
74 "name": "numeric_arg_neg",
75 "args": [
76 "-5"
77 ],
78 "result": {
79 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
80 "stderr": "",
81 "exitCode": 0,
82 "duration": 340355,
83 "timed_out": false
84 }
85 },
86 {
87 "name": "numeric_arg_pos",
88 "args": [
89 "5"
90 ],
91 "result": {
92 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
93 "stderr": "",
94 "exitCode": 0,
95 "duration": 332373,
96 "timed_out": false
97 }
98 },
99 {
100 "name": "quit",
101 "args": [
102 "q"
103 ],
104 "result": {
105 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
106 "stderr": "",
107 "exitCode": 0,
108 "duration": 346248,
109 "timed_out": false
110 }
111 },
112 {
113 "name": "string_arg",
114 "args": [
115 "test"
116 ],
117 "result": {
118 "stdout": "--- Vector \u0026 Matrix Math Demo ---\nVector A: [3, 5]\nVector B: [-2, 4]\n\n--- Vector Operations ---\nA + B: [1, 9]\nA . B: 14\n\n--- Matrix Operations ---\nRotation Matrix R: [[0, 1], [-1, 0]]\nScaling Matrix T: [[2, 0], [0, 3]]\nR * A: [5, -3]\nT * R: [[0, 2], [-3, 0]]\n(T * R) * B: [8, 6]\n",
119 "stderr": "",
120 "exitCode": 0,
121 "duration": 342933,
122 "timed_out": false
123 }
124 }
125 ]
126}