diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-22 00:25:22 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-22 00:25:22 +0100 |
commit | a04777a20e60857f880775c3c6ed23c6d1e72eca (patch) | |
tree | d5302638c8569a4d0905ef1fd4ef1b4e39e6a2de /examples | |
parent | Feature: Add support for while statements (diff) | |
download | interpreter-a04777a20e60857f880775c3c6ed23c6d1e72eca.tar.gz interpreter-a04777a20e60857f880775c3c6ed23c6d1e72eca.tar.bz2 interpreter-a04777a20e60857f880775c3c6ed23c6d1e72eca.zip |
Feature: Add support for division and multiplication
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 1245e45..9bb3c73 100644 --- a/examples/7.src +++ b/examples/7.src @@ -1,7 +1,7 @@ let main = () => { let i = 4; - if (i - 1) == 5 - (1 + 1) { + if (1 - 1 * 2) == 5 - (10 / 2) - 1 { print(i); return i; }; |