diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-29 23:55:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-29 23:55:51 -0700 |
commit | 72cccd08c7a3462072b8ae5aea1576f010bf12c0 (patch) | |
tree | bffdef85020f1393c74bf8b21d605f87e9f6a889 /cpp/.traces/interpolate-works | |
parent | 288728767877f95e644d02c0f15d5d319832187f (diff) | |
download | mu-72cccd08c7a3462072b8ae5aea1576f010bf12c0.tar.gz |
1225
Finally start tracing the actual instructions as they run.
Diffstat (limited to 'cpp/.traces/interpolate-works')
-rw-r--r-- | cpp/.traces/interpolate-works | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/cpp/.traces/interpolate-works b/cpp/.traces/interpolate-works index c7dc2ee9..e299c10a 100644 --- a/cpp/.traces/interpolate-works +++ b/cpp/.traces/interpolate-works @@ -21,37 +21,48 @@ after-brace/0: copy ... new/0: routine allocated memory from 1000 to 101000 schedule/0: test-interpolate-works run/0: instruction test-interpolate-works/0 +run/0: {name: "1", value: 1, type: 2-5-4, properties: ["1": "address":"array":"character", "raw": ]} <- new {name: "abc _", value: 0, type: 0, properties: ["abc _": "literal-string"]} mem/0: storing 1000 in location 1 run/0: instruction test-interpolate-works/1 +run/0: {name: "2", value: 2, type: 2-5-4, properties: ["2": "address":"array":"character", "raw": ]} <- new {name: "def", value: 0, type: 0, properties: ["def": "literal-string"]} mem/0: storing 1006 in location 2 run/0: instruction test-interpolate-works/2 +run/0: {name: "3", value: 3, type: 2-5-4, properties: ["3": "address":"array":"character", "raw": ]} <- interpolate {name: "1", value: 1, type: 2-5-4, properties: ["1": "address":"array":"character", "raw": ]}, {name: "2", value: 2, type: 2-5-4, properties: ["2": "address":"array":"character", "raw": ]} mem/0: location 1 is 1000 mem/0: location 2 is 1006 run/0: instruction interpolate/0 +run/0: {name: "default-space", value: 0, type: 5-2-1, properties: ["default-space": "array":"address":"location"]} <- new {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "60", value: 60, type: 0, properties: ["60": "literal"]} mem/0: array size is 60 mem/0: new alloc: 1010 run/0: instruction interpolate/1 +run/0: {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character"]} <- next-ingredient run/0: product 0 is 1000 mem/0: storing 1000 in location 1012 run/0: instruction interpolate/2 +run/0: {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} <- length {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 mem/0: storing 5 in location 1013 run/0: instruction interpolate/3 +run/0: {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]} <- copy {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is tem-len mem/0: location 1013 is 5 mem/0: storing 5 in location 1014 run/0: instruction interpolate/5 +run/0: {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character"]}, {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]} <- next-ingredient run/0: product 0 is 1006 mem/0: storing 1006 in location 1015 mem/0: storing 1 in location 1016 run/0: instruction interpolate/6 +run/0: break-unless {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]}, {name: "", value: 4, type: , properties: ["": ]} mem/0: location 1016 is 1 run/0: ingredient 0 is 1 run/0: jump-unless fell through run/0: instruction interpolate/7 +run/0: {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} <- length {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]} mem/0: location 1015 is 1006 mem/0: storing 3 in location 1017 run/0: instruction interpolate/8 +run/0: {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]} <- add {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]}, {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} run/0: ingredient 0 is result-len mem/0: location 1014 is 5 run/0: ingredient 1 is a-len @@ -59,44 +70,56 @@ mem/0: location 1017 is 3 run/0: product 0 is 8 mem/0: storing 8 in location 1014 run/0: instruction interpolate/9 +run/0: {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]} <- subtract {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-len mem/0: location 1014 is 8 run/0: ingredient 1 is 1 run/0: product 0 is 7 mem/0: storing 7 in location 1014 run/0: instruction interpolate/10 +run/0: loop {name: "", value: -6, type: , properties: ["": ]} run/0: ingredient 0 is -6 run/0: jumping to instruction 5 run/0: instruction interpolate/5 +run/0: {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character"]}, {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]} <- next-ingredient mem/0: storing 0 in location 1016 run/0: instruction interpolate/6 +run/0: break-unless {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]}, {name: "", value: 4, type: , properties: ["": ]} mem/0: location 1016 is 0 run/0: ingredient 0 is 0 run/0: ingredient 1 is run/0: jumping to instruction 11 run/0: instruction interpolate/12 +run/0: rewind-ingredients run/0: instruction interpolate/13 +run/0: {name: "_", value: 0, type: 0, properties: ["_": "dummy"]} <- next-ingredient run/0: product 0 is 1000 run/0: instruction interpolate/14 +run/0: {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character"]} <- new {name: "character", value: 4, type: 0, properties: ["character": "type"]}, {name: "result-len", value: 3, type: 1, properties: ["result-len": "integer"]} mem/0: location 1014 is 7 mem/0: array size is 7 mem/0: new alloc: 1070 mem/0: storing 1070 in location 1018 run/0: instruction interpolate/15 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- copy {name: "0", value: 0, type: 0, properties: ["0": "literal"]} run/0: ingredient 0 is 0 mem/0: storing 0 in location 1019 run/0: instruction interpolate/16 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- copy {name: "0", value: 0, type: 0, properties: ["0": "literal"]} run/0: ingredient 0 is 0 mem/0: storing 0 in location 1020 run/0: instruction interpolate/18 +run/0: {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character"]}, {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]} <- next-ingredient run/0: product 0 is 1006 mem/0: storing 1006 in location 1015 mem/0: storing 1 in location 1016 run/0: instruction interpolate/19 +run/0: break-unless {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]}, {name: "", value: 25, type: , properties: ["": ]} mem/0: location 1016 is 1 run/0: ingredient 0 is 1 run/0: jump-unless fell through run/0: instruction interpolate/21 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 0 run/0: ingredient 1 is tem-len @@ -104,10 +127,12 @@ mem/0: location 1013 is 5 run/0: product 0 is 0 mem/0: storing 0 in location 1021 run/0: instruction interpolate/22 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "2", value: 2, type: 0, properties: ["2": "blocks"]} mem/0: location 1021 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/23 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]}, {name: "i", value: 9, type: 1, properties: ["i": "integer"]} run/0: ingredient 0 is {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 run/0: ingredient 1 is {name: "i", value: 9, type: 1, properties: ["i": "integer"]} @@ -118,16 +143,19 @@ mem/0: location 1001 is 97 run/0: product 0 is 97 mem/0: storing 97 in location 1022 run/0: instruction interpolate/24 +run/0: {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]} <- equal {name: "in", value: 11, type: 4, properties: ["in": "character"]}, {name: "95", value: 95, type: 0, properties: ["95": "literal"]} run/0: ingredient 0 is in mem/0: location 1022 is 97 run/0: ingredient 1 is 95 run/0: product 0 is 0 mem/0: storing 0 in location 1023 run/0: instruction interpolate/25 +run/0: break-if {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]}, {name: "", value: 5, type: , properties: ["": ]} mem/0: location 1023 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/26 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -136,26 +164,31 @@ run/0: address to copy is 1071 run/0: product 0 is 1071 mem/0: storing 1071 in location 1024 run/0: instruction interpolate/27 +run/0: {name: "out", value: 13, 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 1022 is 97 mem/0: location 1024 is 1071 mem/0: storing 97 in location 1071 run/0: instruction interpolate/28 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is i mem/0: location 1020 is 0 run/0: ingredient 1 is 1 run/0: product 0 is 1 mem/0: storing 1 in location 1020 run/0: instruction interpolate/29 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 0 run/0: ingredient 1 is 1 run/0: product 0 is 1 mem/0: storing 1 in location 1019 run/0: instruction interpolate/30 +run/0: loop {name: "", value: -10, type: , properties: ["": ]} run/0: ingredient 0 is -10 run/0: jumping to instruction 21 run/0: instruction interpolate/21 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 1 run/0: ingredient 1 is tem-len @@ -163,10 +196,12 @@ mem/0: location 1013 is 5 run/0: product 0 is 0 mem/0: storing 0 in location 1021 run/0: instruction interpolate/22 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "2", value: 2, type: 0, properties: ["2": "blocks"]} mem/0: location 1021 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/23 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]}, {name: "i", value: 9, type: 1, properties: ["i": "integer"]} run/0: ingredient 0 is {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 run/0: ingredient 1 is {name: "i", value: 9, type: 1, properties: ["i": "integer"]} @@ -177,16 +212,19 @@ mem/0: location 1002 is 98 run/0: product 0 is 98 mem/0: storing 98 in location 1022 run/0: instruction interpolate/24 +run/0: {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]} <- equal {name: "in", value: 11, type: 4, properties: ["in": "character"]}, {name: "95", value: 95, type: 0, properties: ["95": "literal"]} run/0: ingredient 0 is in mem/0: location 1022 is 98 run/0: ingredient 1 is 95 run/0: product 0 is 0 mem/0: storing 0 in location 1023 run/0: instruction interpolate/25 +run/0: break-if {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]}, {name: "", value: 5, type: , properties: ["": ]} mem/0: location 1023 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/26 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -195,26 +233,31 @@ run/0: address to copy is 1072 run/0: product 0 is 1072 mem/0: storing 1072 in location 1024 run/0: instruction interpolate/27 +run/0: {name: "out", value: 13, 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 1022 is 98 mem/0: location 1024 is 1072 mem/0: storing 98 in location 1072 run/0: instruction interpolate/28 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is i mem/0: location 1020 is 1 run/0: ingredient 1 is 1 run/0: product 0 is 2 mem/0: storing 2 in location 1020 run/0: instruction interpolate/29 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 1 run/0: ingredient 1 is 1 run/0: product 0 is 2 mem/0: storing 2 in location 1019 run/0: instruction interpolate/30 +run/0: loop {name: "", value: -10, type: , properties: ["": ]} run/0: ingredient 0 is -10 run/0: jumping to instruction 21 run/0: instruction interpolate/21 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 2 run/0: ingredient 1 is tem-len @@ -222,10 +265,12 @@ mem/0: location 1013 is 5 run/0: product 0 is 0 mem/0: storing 0 in location 1021 run/0: instruction interpolate/22 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "2", value: 2, type: 0, properties: ["2": "blocks"]} mem/0: location 1021 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/23 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]}, {name: "i", value: 9, type: 1, properties: ["i": "integer"]} run/0: ingredient 0 is {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 run/0: ingredient 1 is {name: "i", value: 9, type: 1, properties: ["i": "integer"]} @@ -236,16 +281,19 @@ mem/0: location 1003 is 99 run/0: product 0 is 99 mem/0: storing 99 in location 1022 run/0: instruction interpolate/24 +run/0: {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]} <- equal {name: "in", value: 11, type: 4, properties: ["in": "character"]}, {name: "95", value: 95, type: 0, properties: ["95": "literal"]} run/0: ingredient 0 is in mem/0: location 1022 is 99 run/0: ingredient 1 is 95 run/0: product 0 is 0 mem/0: storing 0 in location 1023 run/0: instruction interpolate/25 +run/0: break-if {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]}, {name: "", value: 5, type: , properties: ["": ]} mem/0: location 1023 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/26 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -254,26 +302,31 @@ run/0: address to copy is 1073 run/0: product 0 is 1073 mem/0: storing 1073 in location 1024 run/0: instruction interpolate/27 +run/0: {name: "out", value: 13, 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 1022 is 99 mem/0: location 1024 is 1073 mem/0: storing 99 in location 1073 run/0: instruction interpolate/28 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is i mem/0: location 1020 is 2 run/0: ingredient 1 is 1 run/0: product 0 is 3 mem/0: storing 3 in location 1020 run/0: instruction interpolate/29 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 2 run/0: ingredient 1 is 1 run/0: product 0 is 3 mem/0: storing 3 in location 1019 run/0: instruction interpolate/30 +run/0: loop {name: "", value: -10, type: , properties: ["": ]} run/0: ingredient 0 is -10 run/0: jumping to instruction 21 run/0: instruction interpolate/21 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 3 run/0: ingredient 1 is tem-len @@ -281,10 +334,12 @@ mem/0: location 1013 is 5 run/0: product 0 is 0 mem/0: storing 0 in location 1021 run/0: instruction interpolate/22 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "2", value: 2, type: 0, properties: ["2": "blocks"]} mem/0: location 1021 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/23 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]}, {name: "i", value: 9, type: 1, properties: ["i": "integer"]} run/0: ingredient 0 is {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 run/0: ingredient 1 is {name: "i", value: 9, type: 1, properties: ["i": "integer"]} @@ -295,16 +350,19 @@ mem/0: location 1004 is 32 run/0: product 0 is 32 mem/0: storing 32 in location 1022 run/0: instruction interpolate/24 +run/0: {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]} <- equal {name: "in", value: 11, type: 4, properties: ["in": "character"]}, {name: "95", value: 95, type: 0, properties: ["95": "literal"]} run/0: ingredient 0 is in mem/0: location 1022 is 32 run/0: ingredient 1 is 95 run/0: product 0 is 0 mem/0: storing 0 in location 1023 run/0: instruction interpolate/25 +run/0: break-if {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]}, {name: "", value: 5, type: , properties: ["": ]} mem/0: location 1023 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/26 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -313,26 +371,31 @@ run/0: address to copy is 1074 run/0: product 0 is 1074 mem/0: storing 1074 in location 1024 run/0: instruction interpolate/27 +run/0: {name: "out", value: 13, 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 1022 is 32 mem/0: location 1024 is 1074 mem/0: storing 32 in location 1074 run/0: instruction interpolate/28 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is i mem/0: location 1020 is 3 run/0: ingredient 1 is 1 run/0: product 0 is 4 mem/0: storing 4 in location 1020 run/0: instruction interpolate/29 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 3 run/0: ingredient 1 is 1 run/0: product 0 is 4 mem/0: storing 4 in location 1019 run/0: instruction interpolate/30 +run/0: loop {name: "", value: -10, type: , properties: ["": ]} run/0: ingredient 0 is -10 run/0: jumping to instruction 21 run/0: instruction interpolate/21 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 4 run/0: ingredient 1 is tem-len @@ -340,10 +403,12 @@ mem/0: location 1013 is 5 run/0: product 0 is 0 mem/0: storing 0 in location 1021 run/0: instruction interpolate/22 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "2", value: 2, type: 0, properties: ["2": "blocks"]} mem/0: location 1021 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/23 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]}, {name: "i", value: 9, type: 1, properties: ["i": "integer"]} run/0: ingredient 0 is {name: "template", value: 1, type: 2-5-4, properties: ["template": "address":"array":"character", "deref": ]} mem/0: location 1012 is 1000 run/0: ingredient 1 is {name: "i", value: 9, type: 1, properties: ["i": "integer"]} @@ -354,20 +419,24 @@ mem/0: location 1005 is 95 run/0: product 0 is 95 mem/0: storing 95 in location 1022 run/0: instruction interpolate/24 +run/0: {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]} <- equal {name: "in", value: 11, type: 4, properties: ["in": "character"]}, {name: "95", value: 95, type: 0, properties: ["95": "literal"]} run/0: ingredient 0 is in mem/0: location 1022 is 95 run/0: ingredient 1 is 95 run/0: product 0 is 1 mem/0: storing 1 in location 1023 run/0: instruction interpolate/25 +run/0: break-if {name: "underscore?", value: 12, type: 3, properties: ["underscore?": "boolean"]}, {name: "", value: 5, type: , properties: ["": ]} mem/0: location 1023 is 1 run/0: ingredient 0 is 1 run/0: ingredient 1 is run/0: jumping to instruction 31 run/0: instruction interpolate/32 +run/0: {name: "j", value: 14, type: 1, properties: ["j": "integer"]} <- copy {name: "0", value: 0, type: 0, properties: ["0": "literal"]} run/0: ingredient 0 is 0 mem/0: storing 0 in location 1025 run/0: instruction interpolate/34 +run/0: {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]} <- greater-or-equal {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} run/0: ingredient 0 is j mem/0: location 1025 is 0 run/0: ingredient 1 is a-len @@ -375,10 +444,12 @@ mem/0: location 1017 is 3 run/0: product 0 is 0 mem/0: storing 0 in location 1026 run/0: instruction interpolate/35 +run/0: break-if {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]}, {name: "", value: 6, type: , properties: ["": ]} mem/0: location 1026 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/36 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "j", value: 14, type: 1, properties: ["j": "integer"]} run/0: ingredient 0 is {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]} mem/0: location 1015 is 1006 run/0: ingredient 1 is {name: "j", value: 14, type: 1, properties: ["j": "integer"]} @@ -389,6 +460,7 @@ mem/0: location 1007 is 100 run/0: product 0 is 100 mem/0: storing 100 in location 1022 run/0: instruction interpolate/37 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -397,26 +469,31 @@ run/0: address to copy is 1075 run/0: product 0 is 1075 mem/0: storing 1075 in location 1024 run/0: instruction interpolate/38 +run/0: {name: "out", value: 13, 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 1022 is 100 mem/0: location 1024 is 1075 mem/0: storing 100 in location 1075 run/0: instruction interpolate/39 +run/0: {name: "j", value: 14, type: 1, properties: ["j": "integer"]} <- add {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is j mem/0: location 1025 is 0 run/0: ingredient 1 is 1 run/0: product 0 is 1 mem/0: storing 1 in location 1025 run/0: instruction interpolate/40 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 4 run/0: ingredient 1 is 1 run/0: product 0 is 5 mem/0: storing 5 in location 1019 run/0: instruction interpolate/41 +run/0: loop {name: "", value: -8, type: , properties: ["": ]} run/0: ingredient 0 is -8 run/0: jumping to instruction 34 run/0: instruction interpolate/34 +run/0: {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]} <- greater-or-equal {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} run/0: ingredient 0 is j mem/0: location 1025 is 1 run/0: ingredient 1 is a-len @@ -424,10 +501,12 @@ mem/0: location 1017 is 3 run/0: product 0 is 0 mem/0: storing 0 in location 1026 run/0: instruction interpolate/35 +run/0: break-if {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]}, {name: "", value: 6, type: , properties: ["": ]} mem/0: location 1026 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/36 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "j", value: 14, type: 1, properties: ["j": "integer"]} run/0: ingredient 0 is {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]} mem/0: location 1015 is 1006 run/0: ingredient 1 is {name: "j", value: 14, type: 1, properties: ["j": "integer"]} @@ -438,6 +517,7 @@ mem/0: location 1008 is 101 run/0: product 0 is 101 mem/0: storing 101 in location 1022 run/0: instruction interpolate/37 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -446,26 +526,31 @@ run/0: address to copy is 1076 run/0: product 0 is 1076 mem/0: storing 1076 in location 1024 run/0: instruction interpolate/38 +run/0: {name: "out", value: 13, 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 1022 is 101 mem/0: location 1024 is 1076 mem/0: storing 101 in location 1076 run/0: instruction interpolate/39 +run/0: {name: "j", value: 14, type: 1, properties: ["j": "integer"]} <- add {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is j mem/0: location 1025 is 1 run/0: ingredient 1 is 1 run/0: product 0 is 2 mem/0: storing 2 in location 1025 run/0: instruction interpolate/40 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 5 run/0: ingredient 1 is 1 run/0: product 0 is 6 mem/0: storing 6 in location 1019 run/0: instruction interpolate/41 +run/0: loop {name: "", value: -8, type: , properties: ["": ]} run/0: ingredient 0 is -8 run/0: jumping to instruction 34 run/0: instruction interpolate/34 +run/0: {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]} <- greater-or-equal {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} run/0: ingredient 0 is j mem/0: location 1025 is 2 run/0: ingredient 1 is a-len @@ -473,10 +558,12 @@ mem/0: location 1017 is 3 run/0: product 0 is 0 mem/0: storing 0 in location 1026 run/0: instruction interpolate/35 +run/0: break-if {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]}, {name: "", value: 6, type: , properties: ["": ]} mem/0: location 1026 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction interpolate/36 +run/0: {name: "in", value: 11, type: 4, properties: ["in": "character"]} <- index {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}, {name: "j", value: 14, type: 1, properties: ["j": "integer"]} run/0: ingredient 0 is {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]} mem/0: location 1015 is 1006 run/0: ingredient 1 is {name: "j", value: 14, type: 1, properties: ["j": "integer"]} @@ -487,6 +574,7 @@ mem/0: location 1009 is 102 run/0: product 0 is 102 mem/0: storing 102 in location 1022 run/0: instruction interpolate/37 +run/0: {name: "out", value: 13, type: 2-4, properties: ["out": "address":"character"]} <- index-address {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character", "deref": ]}, {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} run/0: ingredient 0 is result mem/0: location 1018 is 1070 run/0: ingredient 1 is {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} @@ -495,26 +583,31 @@ run/0: address to copy is 1077 run/0: product 0 is 1077 mem/0: storing 1077 in location 1024 run/0: instruction interpolate/38 +run/0: {name: "out", value: 13, 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 1022 is 102 mem/0: location 1024 is 1077 mem/0: storing 102 in location 1077 run/0: instruction interpolate/39 +run/0: {name: "j", value: 14, type: 1, properties: ["j": "integer"]} <- add {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is j mem/0: location 1025 is 2 run/0: ingredient 1 is 1 run/0: product 0 is 3 mem/0: storing 3 in location 1025 run/0: instruction interpolate/40 +run/0: {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]} <- add {name: "result-idx", value: 8, type: 1, properties: ["result-idx": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is result-idx mem/0: location 1019 is 6 run/0: ingredient 1 is 1 run/0: product 0 is 7 mem/0: storing 7 in location 1019 run/0: instruction interpolate/41 +run/0: loop {name: "", value: -8, type: , properties: ["": ]} run/0: ingredient 0 is -8 run/0: jumping to instruction 34 run/0: instruction interpolate/34 +run/0: {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]} <- greater-or-equal {name: "j", value: 14, type: 1, properties: ["j": "integer"]}, {name: "a-len", value: 6, type: 1, properties: ["a-len": "integer"]} run/0: ingredient 0 is j mem/0: location 1025 is 3 run/0: ingredient 1 is a-len @@ -522,27 +615,33 @@ mem/0: location 1017 is 3 run/0: product 0 is 1 mem/0: storing 1 in location 1026 run/0: instruction interpolate/35 +run/0: break-if {name: "arg-done?", value: 15, type: 3, properties: ["arg-done?": "boolean"]}, {name: "", value: 6, type: , properties: ["": ]} mem/0: location 1026 is 1 run/0: ingredient 0 is 1 run/0: ingredient 1 is run/0: jumping to instruction 42 run/0: instruction interpolate/43 +run/0: {name: "i", value: 9, type: 1, properties: ["i": "integer"]} <- add {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} run/0: ingredient 0 is i mem/0: location 1020 is 4 run/0: ingredient 1 is 1 run/0: product 0 is 5 mem/0: storing 5 in location 1020 run/0: instruction interpolate/44 +run/0: loop {name: "", value: -27, type: , properties: ["": ]} run/0: ingredient 0 is -27 run/0: jumping to instruction 18 run/0: instruction interpolate/18 +run/0: {name: "a", value: 4, type: 2-5-4, properties: ["a": "address":"array":"character"]}, {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]} <- next-ingredient mem/0: storing 0 in location 1016 run/0: instruction interpolate/19 +run/0: break-unless {name: "arg-received?", value: 5, type: 3, properties: ["arg-received?": "boolean"]}, {name: "", value: 25, type: , properties: ["": ]} mem/0: location 1016 is 0 run/0: ingredient 0 is 0 run/0: ingredient 1 is run/0: jumping to instruction 45 run/0: instruction interpolate/47 +run/0: {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]} <- greater-or-equal {name: "i", value: 9, type: 1, properties: ["i": "integer"]}, {name: "tem-len", value: 2, type: 1, properties: ["tem-len": "integer"]} run/0: ingredient 0 is i mem/0: location 1020 is 5 run/0: ingredient 1 is tem-len @@ -550,15 +649,18 @@ mem/0: location 1013 is 5 run/0: product 0 is 1 mem/0: storing 1 in location 1021 run/0: instruction interpolate/48 +run/0: break-if {name: "tem-done?", value: 10, type: 3, properties: ["tem-done?": "boolean"]}, {name: "", value: 6, type: , properties: ["": ]} mem/0: location 1021 is 1 run/0: ingredient 0 is 1 run/0: ingredient 1 is run/0: jumping to instruction 55 run/0: instruction interpolate/56 +run/0: reply {name: "result", value: 7, type: 2-5-4, properties: ["result": "address":"array":"character"]} mem/0: location 1018 is 1070 run/0: result 0 is 1070 mem/0: storing 1070 in location 3 run/0: instruction test-interpolate-works/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 1070 mem/0: location 1070 is 7 |