about summary refs log tree commit diff stats
path: root/023boolean.cc
diff options
context:
space:
mode:
Diffstat (limited to '023boolean.cc')
-rw-r--r--023boolean.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/023boolean.cc b/023boolean.cc
index 558421a5..fc501a79 100644
--- a/023boolean.cc
+++ b/023boolean.cc
@@ -33,7 +33,7 @@ case AND: {
 }
 
 :(scenario and)
-recipe main [
+def main [
   1:boolean <- copy 1
   2:boolean <- copy 0
   3:boolean <- and 1:boolean, 2:boolean
@@ -41,19 +41,19 @@ recipe main [
 +mem: storing 0 in location 3
 
 :(scenario and_2)
-recipe main [
+def main [
   1:boolean <- and 1, 1
 ]
 +mem: storing 1 in location 1
 
 :(scenario and_multiple)
-recipe main [
+def main [
   1:boolean <- and 1, 1, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario and_multiple_2)
-recipe main [
+def main [
   1:boolean <- and 1, 1, 1
 ]
 +mem: storing 1 in location 1
@@ -91,7 +91,7 @@ case OR: {
 }
 
 :(scenario or)
-recipe main [
+def main [
   1:boolean <- copy 1
   2:boolean <- copy 0
   3:boolean <- or 1:boolean, 2:boolean
@@ -99,19 +99,19 @@ recipe main [
 +mem: storing 1 in location 3
 
 :(scenario or_2)
-recipe main [
+def main [
   1:boolean <- or 0, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario or_multiple)
-recipe main [
+def main [
   1:boolean <- and 0, 0, 0
 ]
 +mem: storing 0 in location 1
 
 :(scenario or_multiple_2)
-recipe main [
+def main [
   1:boolean <- or 0, 0, 1
 ]
 +mem: storing 1 in location 1
@@ -151,14 +151,14 @@ case NOT: {
 }
 
 :(scenario not)
-recipe main [
+def main [
   1:boolean <- copy 1
   2:boolean <- not 1:boolean
 ]
 +mem: storing 0 in location 2
 
 :(scenario not_multiple)
-recipe main [
+def main [
   1:boolean, 2:boolean, 3:boolean <- not 1, 0, 1
 ]
 +mem: storing 0 in location 1