binary expressions

This commit is contained in:
nub31
2025-05-11 17:49:24 +02:00
parent 626b2fef0c
commit 340f1e3448
4 changed files with 228 additions and 31 deletions

View File

@@ -1,22 +1,7 @@
import "c";
struct Human {
age: int64 = 0;
name: string;
}
global func main() {
while true {
let dad = new Human
{
name = "John";
};
printName(dad);
if 3 / 3 == 1 {
puts("uwu");
}
}
func printName(human: Human) {
puts(human.name);
}