about summary refs log tree commit diff stats
path: root/022boolean.cc
diff options
context:
space:
mode:
Diffstat (limited to '022boolean.cc')
-rw-r--r--022boolean.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/022boolean.cc b/022boolean.cc
index bebe2204..6b02b4a8 100644
--- a/022boolean.cc
+++ b/022boolean.cc
@@ -18,27 +18,27 @@ case AND: {
 
 :(scenario and)
 recipe main [
-  1:boolean <- copy 1:literal
-  2:boolean <- copy 0:literal
+  1:boolean <- copy 1
+  2:boolean <- copy 0
   3:boolean <- and 1:boolean, 2:boolean
 ]
 +mem: storing 0 in location 3
 
 :(scenario and2)
 recipe main [
-  1:boolean <- and 1:literal, 1:literal
+  1:boolean <- and 1, 1
 ]
 +mem: storing 1 in location 1
 
 :(scenario and_multiple)
 recipe main [
-  1:boolean <- and 1:literal, 1:literal, 0:literal
+  1:boolean <- and 1, 1, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario and_multiple2)
 recipe main [
-  1:boolean <- and 1:literal, 1:literal, 1:literal
+  1:boolean <- and 1, 1, 1
 ]
 +mem: storing 1 in location 1
 
@@ -60,27 +60,27 @@ case OR: {
 
 :(scenario or)
 recipe main [
-  1:boolean <- copy 1:literal
-  2:boolean <- copy 0:literal
+  1:boolean <- copy 1
+  2:boolean <- copy 0
   3:boolean <- or 1:boolean, 2:boolean
 ]
 +mem: storing 1 in location 3
 
 :(scenario or2)
 recipe main [
-  1:boolean <- or 0:literal, 0:literal
+  1:boolean <- or 0, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario or_multiple)
 recipe main [
-  1:boolean <- and 0:literal, 0:literal, 0:literal
+  1:boolean <- and 0, 0, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario or_multiple2)
 recipe main [
-  1:boolean <- or 0:literal, 0:literal, 1:literal
+  1:boolean <- or 0, 0, 1
 ]
 +mem: storing 1 in location 1
 
@@ -100,14 +100,14 @@ case NOT: {
 
 :(scenario not)
 recipe main [
-  1:boolean <- copy 1:literal
+  1:boolean <- copy 1
   2:boolean <- not 1:boolean
 ]
 +mem: storing 0 in location 2
 
 :(scenario not_multiple)
 recipe main [
-  1:boolean, 2:boolean, 3:boolean <- not 1:literal, 0:literal, 1:literal
+  1:boolean, 2:boolean, 3:boolean <- not 1, 0, 1
 ]
 +mem: storing 0 in location 1
 +mem: storing 1 in location 2