so... jai :D

This commit is contained in:
agra
2026-02-04 01:34:30 +02:00
commit 55fc5790e4
60 changed files with 15876 additions and 0 deletions

19
examples/21-categories.sx Normal file
View File

@@ -0,0 +1,19 @@
#import "modules/std.sx";
Point :: struct {
x, y: s32;
}
Color :: struct {
r, g, b: s32;
}
main :: () {
p := Point.{10, 20};
c := Color.{255, 128, 0};
print("p: {}\n", p);
print("c: {}\n", c);
print("n: {}\n", 42);
print("s: {}\n", "hello");
print("b: {}\n", true);
}