about summary refs log tree commit diff stats
path: root/cpp/.traces/maybe_convert_named
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 18:44:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 18:44:51 -0700
commitcaec3c16d0b0ae0568aa2b6de16510cc8fb89bb2 (patch)
tree668e019703a2fbfc0906bf0a052511c49982b2e7 /cpp/.traces/maybe_convert_named
parentdd994cdad0eb4aa5b890ec62138d573fdf3c3f10 (diff)
downloadmu-caec3c16d0b0ae0568aa2b6de16510cc8fb89bb2.tar.gz
1086 - support variant names in 'maybe-convert'
Diffstat (limited to 'cpp/.traces/maybe_convert_named')
-rw-r--r--cpp/.traces/maybe_convert_named32
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/.traces/maybe_convert_named b/cpp/.traces/maybe_convert_named
new file mode 100644
index 00000000..eba8aa6a
--- /dev/null
+++ b/cpp/.traces/maybe_convert_named
@@ -0,0 +1,32 @@
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "1", value: 0, type: 0, properties: ["1": "literal"]}
+parse/0:   product: {name: "12", value: 0, type: 1, properties: ["12": "integer"]}
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "35", value: 0, type: 0, properties: ["35": "literal"]}
+parse/0:   product: {name: "13", value: 0, type: 1, properties: ["13": "integer"]}
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "36", value: 0, type: 0, properties: ["36": "literal"]}
+parse/0:   product: {name: "14", value: 0, type: 1, properties: ["14": "integer"]}
+parse/0: instruction: 24
+parse/0:   ingredient: {name: "12", value: 0, type: 8, properties: ["12": "integer-or-point"]}
+parse/0:   ingredient: {name: "p", value: 0, type: 0, properties: ["p": "variant"]}
+parse/0:   product: {name: "20", value: 0, type: 2-6, properties: ["20": "address":"point"]}
+name/0: variant p of type integer-or-point has tag 1
+after-brace/0: recipe main
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: maybe-convert ...
+run/0: instruction main/0
+run/0: ingredient 0 is 1
+mem/0: storing 1 in location 12
+run/0: instruction main/1
+run/0: ingredient 0 is 35
+mem/0: storing 35 in location 13
+run/0: instruction main/2
+run/0: ingredient 0 is 36
+mem/0: storing 36 in location 14
+run/0: instruction main/3
+run/0: ingredient 0 is 12
+run/0: ingredient 1 is p
+mem/0: storing 13 in location 20