about summary refs log tree commit diff
path: root/examples/7.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-19 16:04:08 +0100
committerBaitinq <[email protected]>2025-01-19 16:43:59 +0100
commitf076be1254aa2934402837f44d0271d279ae74c9 (patch)
treee6b3f445aa8578b2bcaa5de2d2d91214755230b9 /examples/7.src
parentFeature: Add support for boolean values (diff)
downloadinterpreter-f076be1254aa2934402837f44d0271d279ae74c9.tar.gz
interpreter-f076be1254aa2934402837f44d0271d279ae74c9.tar.bz2
interpreter-f076be1254aa2934402837f44d0271d279ae74c9.zip
Feature: Add basic support for equality expression
Diffstat (limited to 'examples/7.src')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index 0cb0721..b96cba8 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,7 +1,7 @@
 let main = () => {
 	let i = 4;
 	
-	if i - 4 {
+	if i + 1 == 5 {
 		print(i);
 		return i;
 	};