diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-21 00:32:14 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-21 00:32:14 +0100 |
commit | 967dc36c30abbab9e2983568feab9bb514ab58df (patch) | |
tree | dd038d87758bfe17edba4c1ba5457b1ebbde9184 /examples | |
parent | Parser: Add support for parenthesis grouping (diff) | |
download | interpreter-967dc36c30abbab9e2983568feab9bb514ab58df.tar.gz interpreter-967dc36c30abbab9e2983568feab9bb514ab58df.tar.bz2 interpreter-967dc36c30abbab9e2983568feab9bb514ab58df.zip |
Feature: Add support for NOT unary expression
Diffstat (limited to 'examples')
-rw-r--r-- | examples/9.src | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/9.src b/examples/9.src index d21ae71..f3ab389 100644 --- a/examples/9.src +++ b/examples/9.src @@ -1,7 +1,8 @@ let main = () => { let i = true; + i = !i; - if i { + if !i { print(i); return 1; }; |