diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 19:39:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 19:39:20 -0700 |
commit | 5e14ce10db89a72a727c8dead0b27b036044099c (patch) | |
tree | 3bbf29499b5f62ed936ee5d46c459f89aef6a20a /cpp/.traces/start_running_takes_args | |
parent | 363685b87d15307c91d1f330f44b57bf377361a8 (diff) | |
download | mu-5e14ce10db89a72a727c8dead0b27b036044099c.tar.gz |
1270 - we can now pass ingredients to routines as we start them
Diffstat (limited to 'cpp/.traces/start_running_takes_args')
-rw-r--r-- | cpp/.traces/start_running_takes_args | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/.traces/start_running_takes_args b/cpp/.traces/start_running_takes_args new file mode 100644 index 00000000..062c7371 --- /dev/null +++ b/cpp/.traces/start_running_takes_args @@ -0,0 +1,32 @@ +parse/0: instruction: start-running +parse/0: ingredient: {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]} +parse/0: ingredient: {name: "3", value: 0, type: 0, properties: ["3": "literal"]} +parse/0: instruction: next-ingredient +parse/0: product: {name: "1", value: 0, type: 1, properties: ["1": "integer"]} +parse/0: instruction: add +parse/0: ingredient: {name: "1", value: 0, type: 1, properties: ["1": "integer"]} +parse/0: ingredient: {name: "1", value: 0, type: 0, properties: ["1": "literal"]} +parse/0: product: {name: "2", value: 0, type: 1, properties: ["2": "integer"]} +after-brace/0: recipe f1 +after-brace/0: start-running ... +after-brace/0: recipe f2 +after-brace/0: next-ingredient ... +after-brace/0: add ... +new/0: routine allocated memory from 1000 to 101000 +schedule/0: f1 +run/0: instruction f1/0 +run/0: start-running/34 {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]}, {name: "3", value: 3, type: 0, properties: ["3": "literal"]} +run/0: ingredient 0 is f2 +new/0: routine allocated memory from 101000 to 201000 +schedule/0: f2 +run/0: instruction f2/0 +run/0: {name: "1", value: 1, type: 1, properties: ["1": "integer"]} <- next-ingredient/30 +run/0: product 0 is 3 +mem/0: storing 3 in location 1 +run/0: instruction f2/1 +run/0: {name: "2", value: 2, type: 1, properties: ["2": "integer"]} <- add/2 {name: "1", value: 1, type: 1, properties: ["1": "integer"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]} +run/0: ingredient 0 is 1 +mem/0: location 1 is 3 +run/0: ingredient 1 is 1 +run/0: product 0 is 4 +mem/0: storing 4 in location 2 |