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-14 01:09:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-14 01:09:20 -0700
commitf6d47435664c1d4f222736fee9e2d17755dd91ad (patch)
treef3f5b44f322e6fe5a1e02b9b2032e7d7901a8991 /cpp/.traces
parent9b187f3f1e944a68331b1579771dae8a35a0e281 (diff)
downloadmu-f6d47435664c1d4f222736fee9e2d17755dd91ad.tar.gz
904 - c++: replying from recipes
Diffstat (limited to 'cpp/.traces')
-rw-r--r--cpp/.traces/calling_recipe2
-rw-r--r--cpp/.traces/next_ingredient2
-rw-r--r--cpp/.traces/reply30
3 files changed, 32 insertions, 2 deletions
diff --git a/cpp/.traces/calling_recipe b/cpp/.traces/calling_recipe
index ab7089e0..3c220e09 100644
--- a/cpp/.traces/calling_recipe
+++ b/cpp/.traces/calling_recipe
@@ -1,4 +1,4 @@
-parse/0: instruction: 24
+parse/0: instruction: 25
 parse/0: instruction: 2
 parse/0:   ingredient: {name: "2", type: 0}
 parse/0:   ingredient: {name: "2", type: 0}
diff --git a/cpp/.traces/next_ingredient b/cpp/.traces/next_ingredient
index 5dccf578..8ded3d51 100644
--- a/cpp/.traces/next_ingredient
+++ b/cpp/.traces/next_ingredient
@@ -1,4 +1,4 @@
-parse/0: instruction: 24
+parse/0: instruction: 25
 parse/0:   ingredient: {name: "2", type: 0}
 parse/0: instruction: 22
 parse/0:   product: {name: "12", type: 1}
diff --git a/cpp/.traces/reply b/cpp/.traces/reply
new file mode 100644
index 00000000..6b7b7417
--- /dev/null
+++ b/cpp/.traces/reply
@@ -0,0 +1,30 @@
+parse/0: instruction: 25
+parse/0:   ingredient: {name: "2", type: 0}
+parse/0:   product: {name: "3", type: 1}
+parse/0:   product: {name: "4", type: 1}
+parse/0: instruction: 22
+parse/0:   product: {name: "12", type: 1}
+parse/0: instruction: 2
+parse/0:   ingredient: {name: "1", type: 0}
+parse/0:   ingredient: {name: "12", type: 1}
+parse/0:   product: {name: "13", type: 1}
+parse/0: instruction: 23
+parse/0:   ingredient: {name: "12", type: 1}
+parse/0:   ingredient: {name: "13", type: 1}
+run/0: instruction main/0
+run/0: instruction f/0
+run/0: product 0 is 2
+mem/0: storing in location 12
+run/0: instruction f/1
+run/0: ingredient 0 is 1
+run/0: ingredient 1 is 12
+mem/0: location 12 is 2
+run/0: product 0 is 3
+mem/0: storing in location 13
+run/0: instruction f/2
+mem/0: location 12 is 2
+mem/0: location 13 is 3
+run/0: result 0 is 1[2...]
+mem/0: storing in location 3
+run/0: result 1 is 1[3...]
+mem/0: storing in location 4