diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-22 00:30:28 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-22 00:30:59 +0100 |
commit | 596cfe8b9d7319085465bbd134247e2967652f6f (patch) | |
tree | 106c0926321316cac67d57ea94df8444fd0b3f8f /examples | |
parent | Feature: Add support for division and multiplication (diff) | |
download | interpreter-596cfe8b9d7319085465bbd134247e2967652f6f.tar.gz interpreter-596cfe8b9d7319085465bbd134247e2967652f6f.tar.bz2 interpreter-596cfe8b9d7319085465bbd134247e2967652f6f.zip |
Feature: Add support for negation
Diffstat (limited to 'examples')
-rw-r--r-- | examples/7.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src index 9bb3c73..9846af5 100644 --- a/examples/7.src +++ b/examples/7.src @@ -1,7 +1,7 @@ let main = () => { let i = 4; - if (1 - 1 * 2) == 5 - (10 / 2) - 1 { + if (1 - -1 * 2) == 5 - (10 / 2) + 3 { print(i); return i; }; |