feat: Add support for module parsing.

This commit is contained in:
Jooris Hadeler
2026-01-16 21:31:38 +01:00
parent cfac708644
commit 62ea01c532
4 changed files with 34 additions and 3 deletions

View File

@@ -1,3 +1,15 @@
fn add(a: i32, b: i32): i32 {
return a + b;
fn min(a: i32, b: i32): i32 {
if a < b {
return a;
}
return b;
}
fn max(a: i32, b: i32): i32 {
if a > b {
return a;
}
return b;
}