We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebeb708 commit 2c64253Copy full SHA for 2c64253
README.md
@@ -19,7 +19,7 @@ This language is still currently experimental with many more features to come.
19
* [Functions](examples/func.ls).
20
* [Variables](examples/variable.ls).
21
* [Conditionals](examples/conditionals.ls).
22
-* Logical operators.
+* [Logical operators](examples/logical.ls).
23
* Loops.
24
* Closures.
25
* [Recursion](examples/recursion.ls).
examples/logical.ls
@@ -0,0 +1,10 @@
1
+var x = true;
2
+var y = false;
3
+
4
+if (x and y) {
5
+ print "x and y are both true";
6
+}
7
8
+if (x or y) {
9
+ print "Either x, y, or both are true!";
10
0 commit comments