diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-21 23:54:17 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-21 23:54:17 +0100 |
commit | 5965c25a1b32599c8b95e8713b8002e11b891ba4 (patch) | |
tree | fda0d378008c0b89ef1ff1453bd4e2a4ba80b1fe /examples/10.src | |
parent | Tokenizer: Rename NOT token to BANG (diff) | |
download | interpreter-5965c25a1b32599c8b95e8713b8002e11b891ba4.tar.gz interpreter-5965c25a1b32599c8b95e8713b8002e11b891ba4.tar.bz2 interpreter-5965c25a1b32599c8b95e8713b8002e11b891ba4.zip |
Feature: Add support for while statements
Diffstat (limited to 'examples/10.src')
-rw-r--r-- | examples/10.src | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/10.src b/examples/10.src index 38e6259..428ac92 100644 --- a/examples/10.src +++ b/examples/10.src @@ -3,6 +3,7 @@ let main = () => { while !(counter == 10) { print(counter); + counter = counter + 1; }; while counter == 0 { |