diff options
Diffstat (limited to 'cpp/.traces')
-rw-r--r-- | cpp/.traces/set_default_space | 9 | ||||
-rw-r--r-- | cpp/.traces/surrounding_space | 20 |
2 files changed, 25 insertions, 4 deletions
diff --git a/cpp/.traces/set_default_space b/cpp/.traces/set_default_space index 326ca4b1..3292565f 100644 --- a/cpp/.traces/set_default_space +++ b/cpp/.traces/set_default_space @@ -1,4 +1,7 @@ parse/0: instruction: 1 +parse/0: ingredient: {name: "5", value: 0, type: 0, properties: [5: literal]} +parse/0: product: {name: "10", value: 0, type: 1, properties: [10: integer]} +parse/0: instruction: 1 parse/0: ingredient: {name: "10", value: 0, type: 0, properties: [10: literal]} parse/0: product: {name: "default-space", value: 0, type: 2-0, properties: [default-space: address:space]} parse/0: instruction: 1 @@ -8,8 +11,12 @@ name/0: assign default-space 1 after-brace/0: recipe main after-brace/0: copy ... after-brace/0: copy ... +after-brace/0: copy ... run/0: instruction main/0 -run/0: ingredient 0 is 10 +run/0: ingredient 0 is 5 +mem/0: storing 5 in location 10 run/0: instruction main/1 +run/0: ingredient 0 is 10 +run/0: instruction main/2 run/0: ingredient 0 is 23 mem/0: storing 23 in location 12 diff --git a/cpp/.traces/surrounding_space b/cpp/.traces/surrounding_space index 5297428b..baf29200 100644 --- a/cpp/.traces/surrounding_space +++ b/cpp/.traces/surrounding_space @@ -1,4 +1,10 @@ parse/0: instruction: 1 +parse/0: ingredient: {name: "5", value: 0, type: 0, properties: [5: literal]} +parse/0: product: {name: "10", value: 0, type: 1, properties: [10: integer]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "5", value: 0, type: 0, properties: [5: literal]} +parse/0: product: {name: "20", value: 0, type: 1, properties: [20: integer]} +parse/0: instruction: 1 parse/0: ingredient: {name: "10", value: 0, type: 0, properties: [10: literal]} parse/0: product: {name: "default-space", value: 0, type: 2-0, properties: [default-space: address:space]} parse/0: instruction: 1 @@ -16,14 +22,22 @@ after-brace/0: copy ... after-brace/0: copy ... after-brace/0: copy ... after-brace/0: copy ... +after-brace/0: copy ... +after-brace/0: copy ... run/0: instruction main/0 -run/0: ingredient 0 is 10 +run/0: ingredient 0 is 5 +mem/0: storing 5 in location 10 run/0: instruction main/1 +run/0: ingredient 0 is 5 +mem/0: storing 5 in location 20 +run/0: instruction main/2 +run/0: ingredient 0 is 10 +run/0: instruction main/3 run/0: ingredient 0 is 20 mem/0: storing 20 in location 11 -run/0: instruction main/2 +run/0: instruction main/4 run/0: ingredient 0 is 32 mem/0: storing 32 in location 12 -run/0: instruction main/3 +run/0: instruction main/5 run/0: ingredient 0 is 33 mem/0: storing 33 in location 22 |