feat: ADR-024/025/021 — string concat, try/catch/throw, nullable akış-analizi #115

Merged
saqut merged 60 commits from 0.1.0 into master 2026-06-20 21:36:43 +03:00
8 changed files with 57 additions and 0 deletions
Showing only changes of commit 34447d082e - Show all commits

View File

@ -0,0 +1,5 @@
8
14
24
6
-1

View File

@ -0,0 +1,10 @@
int main() {
int a = 12;
int b = 10;
print(a & b);
print(a | b);
print(a << 1);
print(a >> 1);
print(~0);
return 0;
}

View File

@ -0,0 +1,4 @@
6
14
56
28

View File

@ -0,0 +1,12 @@
int main() {
int x = 15;
x &= 6;
print(x);
x |= 8;
print(x);
x <<= 2;
print(x);
x >>= 1;
print(x);
return 0;
}

View File

@ -0,0 +1,3 @@
5
105
8

View File

@ -0,0 +1,12 @@
int counter = 0;
int total = 100;
int main() {
counter = 5;
total = total + counter;
print(counter);
print(total);
counter += 3;
print(counter);
return 0;
}

View File

@ -0,0 +1,2 @@
10
20

View File

@ -0,0 +1,9 @@
int base = 10;
int doubled = 0;
int main() {
doubled = base * 2;
print(base);
print(doubled);
return 0;
}