finished while loops

This commit is contained in:
Lorenzo Torres 2025-12-03 22:41:55 +01:00
parent 21b43af69d
commit 006015c607
7 changed files with 42 additions and 9 deletions

View file

@ -3,9 +3,10 @@ import std;
i32 main()
{
u32 x = 4;
loop x == 3 {
loop {
u32 b = 3;
}
}
x == 3;
loop (0.., test) |k, i| {

View file

@ -1,6 +1,6 @@
import std;
i32 main()
i32 main(usize argc, [*u8] argv)
{
print("Hello world!\n");