This commit is contained in:
nub31
2026-02-28 00:57:48 +01:00
parent e7aad861d3
commit 84627dde45
6 changed files with 185 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
set -e
pushd core
dotnet run --project ../../compiler mem.nub print.nub --type=lib
dotnet run --project ../../compiler print.nub --type=lib
popd
pushd program

View File

@@ -1,4 +0,0 @@
module core
export extern func malloc(size: u64): ^void
export extern func free(size: ^void)

View File

@@ -1,7 +1,5 @@
module main
func main(): i32
{
core::print("Hello, world")
func main(): i32 {
return 0
}
}