about summary refs log tree commit diff stats
path: root/021arithmetic.cc
diff options
context:
space:
mode:
Diffstat (limited to '021arithmetic.cc')
-rw-r--r--021arithmetic.cc52
1 files changed, 0 insertions, 52 deletions
diff --git a/021arithmetic.cc b/021arithmetic.cc
index 667fa541..147fd8bd 100644
--- a/021arithmetic.cc
+++ b/021arithmetic.cc
@@ -20,10 +20,6 @@ case ADD: {
 recipe main [
   1:number <- add 23:literal, 34:literal
 ]
-+run: instruction main/0
-+run: ingredient 0 is 23
-+run: ingredient 1 is 34
-+run: product 0 is 1
 +mem: storing 57 in location 1
 
 :(scenario add)
@@ -32,12 +28,6 @@ recipe main [
   2:number <- copy 34:literal
   3:number <- add 1:number, 2:number
 ]
-+run: instruction main/2
-+run: ingredient 0 is 1
-+mem: location 1 is 23
-+run: ingredient 1 is 2
-+mem: location 2 is 34
-+run: product 0 is 3
 +mem: storing 57 in location 3
 
 :(scenario add_multiple)
@@ -67,10 +57,6 @@ case SUBTRACT: {
 recipe main [
   1:number <- subtract 5:literal, 2:literal
 ]
-+run: instruction main/0
-+run: ingredient 0 is 5
-+run: ingredient 1 is 2
-+run: product 0 is 1
 +mem: storing 3 in location 1
 
 :(scenario subtract)
@@ -79,12 +65,6 @@ recipe main [
   2:number <- copy 34:literal
   3:number <- subtract 1:number, 2:number
 ]
-+run: instruction main/2
-+run: ingredient 0 is 1
-+mem: location 1 is 23
-+run: ingredient 1 is 2
-+mem: location 2 is 34
-+run: product 0 is 3
 +mem: storing -11 in location 3
 
 :(scenario subtract_multiple)
@@ -113,10 +93,6 @@ case MULTIPLY: {
 recipe main [
   1:number <- multiply 2:literal, 3:literal
 ]
-+run: instruction main/0
-+run: ingredient 0 is 2
-+run: ingredient 1 is 3
-+run: product 0 is 1
 +mem: storing 6 in location 1
 
 :(scenario multiply)
@@ -125,12 +101,6 @@ recipe main [
   2:number <- copy 6:literal
   3:number <- multiply 1:number, 2:number
 ]
-+run: instruction main/2
-+run: ingredient 0 is 1
-+mem: location 1 is 4
-+run: ingredient 1 is 2
-+mem: location 2 is 6
-+run: product 0 is 3
 +mem: storing 24 in location 3
 
 :(scenario multiply_multiple)
@@ -160,10 +130,6 @@ case DIVIDE: {
 recipe main [
   1:number <- divide 8:literal, 2:literal
 ]
-+run: instruction main/0
-+run: ingredient 0 is 8
-+run: ingredient 1 is 2
-+run: product 0 is 1
 +mem: storing 4 in location 1
 
 :(scenario divide)
@@ -172,12 +138,6 @@ recipe main [
   2:number <- copy 3:literal
   3:number <- divide 1:number, 2:number
 ]
-+run: instruction main/2
-+run: ingredient 0 is 1
-+mem: location 1 is 27
-+run: ingredient 1 is 2
-+mem: location 2 is 3
-+run: product 0 is 3
 +mem: storing 9 in location 3
 
 :(scenario divide_multiple)
@@ -207,12 +167,7 @@ case DIVIDE_WITH_REMAINDER: {
 recipe main [
   1:number, 2:number <- divide-with-remainder 9:literal, 2:literal
 ]
-+run: instruction main/0
-+run: ingredient 0 is 9
-+run: ingredient 1 is 2
-+run: product 0 is 1
 +mem: storing 4 in location 1
-+run: product 1 is 2
 +mem: storing 1 in location 2
 
 :(scenario divide_with_remainder)
@@ -221,14 +176,7 @@ recipe main [
   2:number <- copy 11:literal
   3:number, 4:number <- divide-with-remainder 1:number, 2:number
 ]
-+run: instruction main/2
-+run: ingredient 0 is 1
-+mem: location 1 is 27
-+run: ingredient 1 is 2
-+mem: location 2 is 11
-+run: product 0 is 3
 +mem: storing 2 in location 3
-+run: product 1 is 4
 +mem: storing 5 in location 4
 
 :(scenario divide_with_decimal_point)