about summary refs log tree commit diff stats
path: root/cpp/.traces/string-append-1
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-30 00:02:54 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-30 00:03:03 -0700
commit72c4fb2ddacc9fccb8ebe8cba9d1322ddcaac017 (patch)
tree4ffd87e194a3168cab832d296755e74a266a4c61 /cpp/.traces/string-append-1
parent72cccd08c7a3462072b8ae5aea1576f010bf12c0 (diff)
downloadmu-72c4fb2ddacc9fccb8ebe8cba9d1322ddcaac017.tar.gz
1226 - bugfix in allocating arrays
Also our first test of printing to screen.
Diffstat (limited to 'cpp/.traces/string-append-1')
-rw-r--r--cpp/.traces/string-append-1194
1 files changed, 97 insertions, 97 deletions
diff --git a/cpp/.traces/string-append-1 b/cpp/.traces/string-append-1
index ce50ab28..16645ab7 100644
--- a/cpp/.traces/string-append-1
+++ b/cpp/.traces/string-append-1
@@ -62,8 +62,8 @@ run/0: instruction string-append/6
 run/0: {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character"]} <- new {name: "character", value: 4, type: 0, properties: ["character": "type"]}, {name: "result-len", value: 5, type: 1, properties: ["result-len": "integer"]}
 mem/0: location 1021 is 13
 mem/0: array size is 13
-mem/0: new alloc: 1045
-mem/0: storing 1045 in location 1022
+mem/0: new alloc: 1046
+mem/0: storing 1046 in location 1022
 run/0: instruction string-append/7
 run/0: {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]} <- copy {name: "0", value: 0, type: 0, properties: ["0": "literal"]}
 run/0: ingredient 0 is 0
@@ -88,12 +88,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 0
-run/0: address to copy is 1046
-run/0: product 0 is 1046
-mem/0: storing 1046 in location 1026
+run/0: address to copy is 1047
+run/0: product 0 is 1047
+mem/0: storing 1047 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -109,8 +109,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 104
-mem/0: location 1026 is 1046
-mem/0: storing 104 in location 1046
+mem/0: location 1026 is 1047
+mem/0: storing 104 in location 1047
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -145,12 +145,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 1
-run/0: address to copy is 1047
-run/0: product 0 is 1047
-mem/0: storing 1047 in location 1026
+run/0: address to copy is 1048
+run/0: product 0 is 1048
+mem/0: storing 1048 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -166,8 +166,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 101
-mem/0: location 1026 is 1047
-mem/0: storing 101 in location 1047
+mem/0: location 1026 is 1048
+mem/0: storing 101 in location 1048
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -202,12 +202,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 2
-run/0: address to copy is 1048
-run/0: product 0 is 1048
-mem/0: storing 1048 in location 1026
+run/0: address to copy is 1049
+run/0: product 0 is 1049
+mem/0: storing 1049 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -223,8 +223,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 108
-mem/0: location 1026 is 1048
-mem/0: storing 108 in location 1048
+mem/0: location 1026 is 1049
+mem/0: storing 108 in location 1049
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -259,12 +259,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 3
-run/0: address to copy is 1049
-run/0: product 0 is 1049
-mem/0: storing 1049 in location 1026
+run/0: address to copy is 1050
+run/0: product 0 is 1050
+mem/0: storing 1050 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -280,8 +280,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 108
-mem/0: location 1026 is 1049
-mem/0: storing 108 in location 1049
+mem/0: location 1026 is 1050
+mem/0: storing 108 in location 1050
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -316,12 +316,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 4
-run/0: address to copy is 1050
-run/0: product 0 is 1050
-mem/0: storing 1050 in location 1026
+run/0: address to copy is 1051
+run/0: product 0 is 1051
+mem/0: storing 1051 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -337,8 +337,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 111
-mem/0: location 1026 is 1050
-mem/0: storing 111 in location 1050
+mem/0: location 1026 is 1051
+mem/0: storing 111 in location 1051
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -373,12 +373,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/12
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 5
-run/0: address to copy is 1051
-run/0: product 0 is 1051
-mem/0: storing 1051 in location 1026
+run/0: address to copy is 1052
+run/0: product 0 is 1052
+mem/0: storing 1052 in location 1026
 run/0: instruction string-append/13
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
@@ -394,8 +394,8 @@ run/0: instruction string-append/14
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 44
-mem/0: location 1026 is 1051
-mem/0: storing 44 in location 1051
+mem/0: location 1026 is 1052
+mem/0: storing 44 in location 1052
 run/0: instruction string-append/15
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -448,12 +448,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 6
-run/0: address to copy is 1052
-run/0: product 0 is 1052
-mem/0: storing 1052 in location 1026
+run/0: address to copy is 1053
+run/0: product 0 is 1053
+mem/0: storing 1053 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -469,8 +469,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 32
-mem/0: location 1026 is 1052
-mem/0: storing 32 in location 1052
+mem/0: location 1026 is 1053
+mem/0: storing 32 in location 1053
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -505,12 +505,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 7
-run/0: address to copy is 1053
-run/0: product 0 is 1053
-mem/0: storing 1053 in location 1026
+run/0: address to copy is 1054
+run/0: product 0 is 1054
+mem/0: storing 1054 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -526,8 +526,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 119
-mem/0: location 1026 is 1053
-mem/0: storing 119 in location 1053
+mem/0: location 1026 is 1054
+mem/0: storing 119 in location 1054
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -562,12 +562,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 8
-run/0: address to copy is 1054
-run/0: product 0 is 1054
-mem/0: storing 1054 in location 1026
+run/0: address to copy is 1055
+run/0: product 0 is 1055
+mem/0: storing 1055 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -583,8 +583,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 111
-mem/0: location 1026 is 1054
-mem/0: storing 111 in location 1054
+mem/0: location 1026 is 1055
+mem/0: storing 111 in location 1055
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -619,12 +619,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 9
-run/0: address to copy is 1055
-run/0: product 0 is 1055
-mem/0: storing 1055 in location 1026
+run/0: address to copy is 1056
+run/0: product 0 is 1056
+mem/0: storing 1056 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -640,8 +640,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 114
-mem/0: location 1026 is 1055
-mem/0: storing 114 in location 1055
+mem/0: location 1026 is 1056
+mem/0: storing 114 in location 1056
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -676,12 +676,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 10
-run/0: address to copy is 1056
-run/0: product 0 is 1056
-mem/0: storing 1056 in location 1026
+run/0: address to copy is 1057
+run/0: product 0 is 1057
+mem/0: storing 1057 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -697,8 +697,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 108
-mem/0: location 1026 is 1056
-mem/0: storing 108 in location 1056
+mem/0: location 1026 is 1057
+mem/0: storing 108 in location 1057
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -733,12 +733,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 11
-run/0: address to copy is 1057
-run/0: product 0 is 1057
-mem/0: storing 1057 in location 1026
+run/0: address to copy is 1058
+run/0: product 0 is 1058
+mem/0: storing 1058 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -754,8 +754,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 100
-mem/0: location 1026 is 1057
-mem/0: storing 100 in location 1057
+mem/0: location 1026 is 1058
+mem/0: storing 100 in location 1058
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -790,12 +790,12 @@ run/0: jump-if fell through
 run/0: instruction string-append/23
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 run/0: ingredient 0 is result
-mem/0: location 1022 is 1045
+mem/0: location 1022 is 1046
 run/0: ingredient 1 is {name: "result-idx", value: 7, type: 1, properties: ["result-idx": "integer"]}
 mem/0: location 1023 is 12
-run/0: address to copy is 1058
-run/0: product 0 is 1058
-mem/0: storing 1058 in location 1026
+run/0: address to copy is 1059
+run/0: product 0 is 1059
+mem/0: storing 1059 in location 1026
 run/0: instruction string-append/24
 run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}, {name: "i", value: 8, type: 1, properties: ["i": "integer"]}
 run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
@@ -811,8 +811,8 @@ run/0: instruction string-append/25
 run/0: {name: "out", value: 10, type: 2-4, properties: ["out": "address":"character", "deref": ]} <- copy {name: "in", value: 11, type: 4, properties: ["in": "character"]}
 run/0: ingredient 0 is in
 mem/0: location 1027 is 33
-mem/0: location 1026 is 1058
-mem/0: storing 33 in location 1058
+mem/0: location 1026 is 1059
+mem/0: storing 33 in location 1059
 run/0: instruction string-append/26
 run/0: {name: "i", value: 8, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 8, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}
 run/0: ingredient 0 is i
@@ -847,27 +847,27 @@ run/0: ingredient 1 is
 run/0: jumping to instruction 29
 run/0: instruction string-append/30
 run/0: reply {name: "result", value: 6, type: 2-5-4, properties: ["result": "address":"array":"character"]}
-mem/0: location 1022 is 1045
-run/0: result 0 is 1045
-mem/0: storing 1045 in location 3
+mem/0: location 1022 is 1046
+run/0: result 0 is 1046
+mem/0: storing 1046 in location 3
 run/0: instruction test-string-append-1/3
 run/0: {name: "4", value: 4, type: 5-4, properties: ["4": "array":"character", "raw": ]} <- copy {name: "3", value: 3, type: 2-5-4, properties: ["3": "address":"array":"character", "raw": , "deref": ]}
 run/0: ingredient 0 is 3
-mem/0: location 3 is 1045
-mem/0: location 1045 is 13
-mem/0: location 1046 is 104
-mem/0: location 1047 is 101
-mem/0: location 1048 is 108
+mem/0: location 3 is 1046
+mem/0: location 1046 is 13
+mem/0: location 1047 is 104
+mem/0: location 1048 is 101
 mem/0: location 1049 is 108
-mem/0: location 1050 is 111
-mem/0: location 1051 is 44
-mem/0: location 1052 is 32
-mem/0: location 1053 is 119
-mem/0: location 1054 is 111
-mem/0: location 1055 is 114
-mem/0: location 1056 is 108
-mem/0: location 1057 is 100
-mem/0: location 1058 is 33
+mem/0: location 1050 is 108
+mem/0: location 1051 is 111
+mem/0: location 1052 is 44
+mem/0: location 1053 is 32
+mem/0: location 1054 is 119
+mem/0: location 1055 is 111
+mem/0: location 1056 is 114
+mem/0: location 1057 is 108
+mem/0: location 1058 is 100
+mem/0: location 1059 is 33
 mem/0: storing 13 in location 4
 mem/0: storing 104 in location 5
 mem/0: storing 101 in location 6