about summary refs log tree commit diff stats
path: root/cpp/.traces
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-28 19:26:40 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-28 19:26:40 -0700
commit0ee448dc2bd481bf9ce52dd6843bd00a1e2e6171 (patch)
tree598584e605d710dce38666a045a56d33870dc869 /cpp/.traces
parentd39883ec7eaa17a3efafeff86ee3f0d75e4d0ebf (diff)
downloadmu-0ee448dc2bd481bf9ce52dd6843bd00a1e2e6171.tar.gz
990
Diffstat (limited to 'cpp/.traces')
-rw-r--r--cpp/.traces/new_array28
1 files changed, 28 insertions, 0 deletions
diff --git a/cpp/.traces/new_array b/cpp/.traces/new_array
new file mode 100644
index 00000000..2fc43f51
--- /dev/null
+++ b/cpp/.traces/new_array
@@ -0,0 +1,28 @@
+parse/0: instruction: 24
+parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: [integer: type]}
+parse/0:   ingredient: {name: "5", value: 0, type: 0, properties: [5: literal]}
+parse/0:   product: {name: "1", value: 0, type: 2-4-1, properties: [1: address:array:integer, raw: ]}
+parse/0: instruction: 24
+parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: [integer: type]}
+parse/0:   product: {name: "2", value: 0, type: 2-1, properties: [2: address:integer, raw: ]}
+parse/0: instruction: 3
+parse/0:   ingredient: {name: "2", value: 0, type: 2-1, properties: [2: address:integer, raw: ]}
+parse/0:   ingredient: {name: "1", value: 0, type: 2-4-1, properties: [1: address:array:integer, raw: ]}
+parse/0:   product: {name: "3", value: 0, type: 1, properties: [3: integer, raw: ]}
+new/0: integer -> 1
+new/0: integer -> 1
+after-brace/0: recipe main
+after-brace/0: new ...
+after-brace/0: new ...
+after-brace/0: subtract ...
+run/0: instruction main/0
+mem/0: storing 1000 in location 1
+run/0: instruction main/1
+mem/0: storing 1005 in location 2
+run/0: instruction main/2
+run/0: ingredient 0 is 2
+mem/0: location 2 is 1005
+run/0: ingredient 1 is 1
+mem/0: location 1 is 1000
+run/0: product 0 is 5
+mem/0: storing 5 in location 3