Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import mymodules { add_xy }
import mymodules.submodule { sub_xy }
fn main() {
println(add_xy(2, 3)) // expected: 5
println(sub_xy(10, 7)) // expected: 3
}
@@ -0,0 +1,5 @@
module mymodules
pub fn add_xy(x int, y int) int {
return x + y
}
@@ -0,0 +1,5 @@
module submodule
pub fn sub_xy(x int, y int) int {
return x - y
}
+7
View File
@@ -0,0 +1,7 @@
Module {
name: 'submodule'
description: ''
version: ''
license: ''
dependencies: []
}