diff options
| author | Baitinq <[email protected]> | 2025-03-08 20:53:46 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-08 20:53:46 +0100 |
| commit | 5f132c8422cb88e3f0ca266f4de9cc0129d44775 (patch) | |
| tree | ab4acc5dbed602b19c4eea4e451175f4fa265200 /examples/10.src | |
| parent | Codegen: Fix bug with recursive functions as variables (diff) | |
| download | interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.tar.gz interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.tar.bz2 interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.zip | |
Feature: Add support for GT and LT operators
Diffstat (limited to 'examples/10.src')
| -rw-r--r-- | examples/10.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10.src b/examples/10.src index 0ec38ea..67199b0 100644 --- a/examples/10.src +++ b/examples/10.src @@ -1,7 +1,7 @@ let main = () => i64 { let counter = 0; - while !(counter == 10) { + while counter < 10 { print(counter); counter = counter + 1; }; |