This commit is contained in:
nub31
2025-06-27 15:55:32 +02:00
parent d9027d6751
commit 19c309c494
20 changed files with 159 additions and 232 deletions

4
example/src/c.nub Normal file
View File

@@ -0,0 +1,4 @@
namespace c
extern func printf(fmt: cstring, arg: u64): void
extern func puts(fmt: cstring)

6
example/src/main.nub Normal file
View File

@@ -0,0 +1,6 @@
namespace main
export func main(args: []cstring): i64 {
c::puts("test")
return 0
}