about summary refs log tree commit diff stats
path: root/cpp/.traces/break_unless
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-17 13:22:40 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-17 13:22:40 -0700
commit32f6079fc3f43e774f17eae7b36aa8c9a3706952 (patch)
treed02a5c6875c5165b6f337273864d5e6adc0c3b32 /cpp/.traces/break_unless
parent3ba6357924e1098a28e43c94a4573a3d2978b5e9 (diff)
downloadmu-32f6079fc3f43e774f17eae7b36aa8c9a3706952.tar.gz
950
Diffstat (limited to 'cpp/.traces/break_unless')
-rw-r--r--cpp/.traces/break_unless34
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp/.traces/break_unless b/cpp/.traces/break_unless
new file mode 100644
index 00000000..b227e1ab
--- /dev/null
+++ b/cpp/.traces/break_unless
@@ -0,0 +1,34 @@
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "0", value: 0, type: 0, properties: [0: literal]}
+parse/0:   product: {name: "1", value: 0, type: 1, properties: [1: integer]}
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "0", value: 0, type: 0, properties: [0: literal]}
+parse/0:   product: {name: "2", value: 0, type: 1, properties: [2: integer]}
+parse/0: label: {
+parse/0: instruction: 25
+parse/0:   ingredient: {name: "2", value: 0, type: 1, properties: [2: integer]}
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "0", value: 0, type: 0, properties: [0: literal]}
+parse/0:   product: {name: "3", value: 0, type: 1, properties: [3: integer]}
+parse/0: label: }
+brace/0: 24: push (open, 2)
+brace/0: push (close, 5)
+after-brace/0: recipe main
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: jump-unless 2, 1:offset
+after-brace/0: copy ...
+run/0: instruction main/0
+run/0: ingredient 0 is 0
+mem/0: storing in location 1
+run/0: instruction main/1
+run/0: ingredient 0 is 0
+mem/0: storing in location 2
+run/0: instruction main/3
+mem/0: location 2 is 0
+run/0: ingredient 0 is 0
+run/0: ingredient 1 is 
+run/0: jumping to instruction 4
+run/0: instruction main/4
+run/0: ingredient 0 is 0
+mem/0: storing in location 3