diff --git a/samples/addition.lox b/samples/addition.lox deleted file mode 100644 index 4fc8bc9..0000000 --- a/samples/addition.lox +++ /dev/null @@ -1 +0,0 @@ -true+false \ No newline at end of file diff --git a/samples/ch21_print.lox b/samples/ch21_print.lox new file mode 100644 index 0000000..d7487c8 --- /dev/null +++ b/samples/ch21_print.lox @@ -0,0 +1,6 @@ +print 1 + 2; +print 3 * 4; +print (1+1)*2; +print "true" == "false"; +print nil == nil; +print !(5 - 4 > 3 * 2 == !nil);