Implemented logical && and ||

This commit is contained in:
2022-08-23 05:07:17 +01:00
parent 6939b216a9
commit 4f70bea808
5 changed files with 70 additions and 5 deletions

6
test/logicals.toy Normal file
View File

@@ -0,0 +1,6 @@
assert true && true, "boolean and failed";
assert true || true, "boolean or failed";
assert false || true && true, "boolen precedence failed";
print "All good";