about summary refs log tree commit diff stats
path: root/cpp/.traces
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-04 12:19:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-04 12:19:53 -0700
commit8a7ad05a804aa4f39d5919a581aba552b7c4f011 (patch)
tree317dcbb300914cc523734ac158538f7c72683b22 /cpp/.traces
parentbe3fb4e139cff16a472fcde00642bf891e953aaf (diff)
downloadmu-8a7ad05a804aa4f39d5919a581aba552b7c4f011.tar.gz
1253 - new notion of 'predefined globals in scenarios'
Diffstat (limited to 'cpp/.traces')
-rw-r--r--cpp/.traces/clear-line-erases-printed-characters222
-rw-r--r--cpp/.traces/print-character-at-top-left210
-rw-r--r--cpp/.traces/screen_in_scenario10
-rw-r--r--cpp/.traces/screen_in_scenario_error10
4 files changed, 26 insertions, 26 deletions
diff --git a/cpp/.traces/clear-line-erases-printed-characters2 b/cpp/.traces/clear-line-erases-printed-characters2
index 8c44d490..282bfe35 100644
--- a/cpp/.traces/clear-line-erases-printed-characters2
+++ b/cpp/.traces/clear-line-erases-printed-characters2
@@ -34,7 +34,7 @@ after-brace/0: screen-should-contain ...
 new/0: routine allocated memory from 1000 to 101000
 schedule/0: clear-line-erases-printed-characters2
 run/0: instruction clear-line-erases-printed-characters2/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
 run/0: instruction init-fake-screen/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal", "capacity": ]}
 mem/0: array size is 30
@@ -746,7 +746,7 @@ run/0: instruction init-fake-screen/14
 run/0: reply/33 {name: "result", value: 1, type: 2-11, properties: ["result": "address":"screen"]}
 mem/0: location 1002 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction clear-line-erases-printed-characters2/1
 run/0: run/43 {name: "
     # print a character
@@ -780,8 +780,8 @@ after-brace/0: print-character ...
 after-brace/0: move-cursor ...
 after-brace/0: clear-line ...
 run/0: instruction run1001/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
+mem/0: location 900 is 1031
 run/0: instruction print-character/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -896,10 +896,10 @@ run/0: instruction print-character/18
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1085 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction run1001/1
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- move-cursor/120 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}, {name: "0", value: 0, type: 0, properties: ["0": "literal", "row": ]}, {name: "0", value: 0, type: 0, properties: ["0": "literal", "column": ]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- move-cursor/120 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}, {name: "0", value: 0, type: 0, properties: ["0": "literal", "row": ]}, {name: "0", value: 0, type: 0, properties: ["0": "literal", "column": ]}
+mem/0: location 900 is 1031
 run/0: instruction move-cursor/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -953,10 +953,10 @@ run/0: instruction move-cursor/10
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1116 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction run1001/2
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- clear-line/118 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- clear-line/118 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}
+mem/0: location 900 is 1031
 run/0: instruction clear-line/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -1689,7 +1689,7 @@ run/0: instruction clear-line/14
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1147 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction clear-line-erases-printed-characters2/2
 run/0: screen-should-contain/59 {name: "
     .     .
diff --git a/cpp/.traces/print-character-at-top-left2 b/cpp/.traces/print-character-at-top-left2
index 10732699..896cc9c5 100644
--- a/cpp/.traces/print-character-at-top-left2
+++ b/cpp/.traces/print-character-at-top-left2
@@ -22,7 +22,7 @@ after-brace/0: screen-should-contain ...
 new/0: routine allocated memory from 1000 to 101000
 schedule/0: print-character-at-top-left2
 run/0: instruction print-character-at-top-left2/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "3", value: 3, type: 0, properties: ["3": "literal", "width": ]}, {name: "2", value: 2, type: 0, properties: ["2": "literal", "height": ]}
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "3", value: 3, type: 0, properties: ["3": "literal", "width": ]}, {name: "2", value: 2, type: 0, properties: ["2": "literal", "height": ]}
 run/0: instruction init-fake-screen/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal", "capacity": ]}
 mem/0: array size is 30
@@ -392,7 +392,7 @@ run/0: instruction init-fake-screen/14
 run/0: reply/33 {name: "result", value: 1, type: 2-11, properties: ["result": "address":"screen"]}
 mem/0: location 1002 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction print-character-at-top-left2/1
 run/0: run/43 {name: "
     screen:address <- print-character screen:address, 97:literal  # 'a'
@@ -406,8 +406,8 @@ parse/0:   product: {name: "screen", value: 0, type: 2, properties: ["screen": "
 after-brace/0: recipe run1001
 after-brace/0: print-character ...
 run/0: instruction run1001/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
+mem/0: location 900 is 1031
 run/0: instruction print-character/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -522,7 +522,7 @@ run/0: instruction print-character/18
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1076 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction print-character-at-top-left2/2
 run/0: screen-should-contain/59 {name: "
     .a  .
diff --git a/cpp/.traces/screen_in_scenario b/cpp/.traces/screen_in_scenario
index 77089eb9..3605e5f0 100644
--- a/cpp/.traces/screen_in_scenario
+++ b/cpp/.traces/screen_in_scenario
@@ -26,7 +26,7 @@ after-brace/0: screen-should-contain ...
 new/0: routine allocated memory from 1000 to 101000
 schedule/0: screen-in-scenario
 run/0: instruction screen-in-scenario/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
 run/0: instruction init-fake-screen/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal", "capacity": ]}
 mem/0: array size is 30
@@ -738,7 +738,7 @@ run/0: instruction init-fake-screen/14
 run/0: reply/33 {name: "result", value: 1, type: 2-11, properties: ["result": "address":"screen"]}
 mem/0: location 1002 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction screen-in-scenario/1
 run/0: run/43 {name: "
     screen:address <- print-character screen:address, 97:literal  # 'a'
@@ -752,8 +752,8 @@ parse/0:   product: {name: "screen", value: 0, type: 2, properties: ["screen": "
 after-brace/0: recipe run1002
 after-brace/0: print-character ...
 run/0: instruction run1002/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
+mem/0: location 900 is 1031
 run/0: instruction print-character/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -868,7 +868,7 @@ run/0: instruction print-character/18
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1085 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction screen-in-scenario/2
 run/0: screen-should-contain/59 {name: "
   #  01234
diff --git a/cpp/.traces/screen_in_scenario_error b/cpp/.traces/screen_in_scenario_error
index 570e2cc5..abcf8d15 100644
--- a/cpp/.traces/screen_in_scenario_error
+++ b/cpp/.traces/screen_in_scenario_error
@@ -26,7 +26,7 @@ after-brace/0: screen-should-contain ...
 new/0: routine allocated memory from 1000 to 101000
 schedule/0: screen-in-scenario-error
 run/0: instruction screen-in-scenario-error/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- assume-screen/115 {name: "5", value: 5, type: 0, properties: ["5": "literal", "width": ]}, {name: "3", value: 3, type: 0, properties: ["3": "literal", "height": ]}
 run/0: instruction init-fake-screen/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal", "capacity": ]}
 mem/0: array size is 30
@@ -738,7 +738,7 @@ run/0: instruction init-fake-screen/14
 run/0: reply/33 {name: "result", value: 1, type: 2-11, properties: ["result": "address":"screen"]}
 mem/0: location 1002 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction screen-in-scenario-error/1
 run/0: run/43 {name: "
     screen:address <- print-character screen:address, 97:literal  # 'a'
@@ -752,8 +752,8 @@ parse/0:   product: {name: "screen", value: 0, type: 2, properties: ["screen": "
 after-brace/0: recipe run1001
 after-brace/0: print-character ...
 run/0: instruction run1001/0
-run/0: {name: "screen", value: 999, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 999, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
-mem/0: location 999 is 1031
+run/0: {name: "screen", value: 900, type: 2, properties: ["screen": "address"]} <- print-character/117 {name: "screen", value: 900, type: 2, properties: ["screen": "address"]}, {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
+mem/0: location 900 is 1031
 run/0: instruction print-character/0
 run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]}
 mem/0: array size is 30
@@ -868,7 +868,7 @@ run/0: instruction print-character/18
 run/0: reply/33 {name: "x", value: 1, type: 2-11, properties: ["x": "address":"screen", "same-as-ingredient": "0"]}
 mem/0: location 1085 is 1031
 run/0: result 0 is 1031
-mem/0: storing 1031 in location 999
+mem/0: storing 1031 in location 900
 run/0: instruction screen-in-scenario-error/2
 run/0: screen-should-contain/59 {name: "
   #  01234