Restructure

This commit is contained in:
Krzosa Karol
2022-06-14 14:28:29 +02:00
parent f223086ef3
commit e4e939ec04
12 changed files with 600 additions and 0 deletions

9
programs/main.kl Normal file
View File

@@ -0,0 +1,9 @@
#import "base.kl"
os :: #import "os.kl"
main :: (argc: int, argv: **char): int
memory := os.reserve(size = 10000)
os.commit(&memory, 1000)
os.release(&memory)
os.print("Hello world")