feat: implement objects and classes

This commit is contained in:
samsonium
2026-10-16 18:11:28 +03:00
parent 683dd08181
commit bc5d887ec4
22 changed files with 848 additions and 116 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
int fib(int n)
fn fib(int n) int
{
if (n <= 1)
return n;
@@ -6,7 +6,7 @@ int fib(int n)
return fib(n - 1) + fib(n - 2);
}
uint sum(uint a, uint b)
fn sum(uint a, uint b) uint
{
return a + b;
}