implement scoping 🎉

This commit is contained in:
Peter
2023-11-18 11:18:25 +01:00
parent c3ee83292f
commit ae30900155
19 changed files with 338 additions and 181 deletions

View File

@@ -0,0 +1,16 @@
int z =5;
int x =5*3;
print(x);
x = 2;
print(x*3);
{
int y =4;
print (y);
}
z = z * x;
print(z);
print(z+x);