This commit is contained in:
nub31
2025-05-25 01:03:15 +02:00
parent 43766f6d97
commit be144a0989
18 changed files with 543 additions and 445 deletions

View File

@@ -3,19 +3,15 @@ set -e
mkdir -p out
echo "setup..."
dotnet publish -c Release src/compiler/Nub.Lang
echo "compiling..."
clear
nub example out/out.qbe
nasm -g -felf64 src/runtime/runtime.asm -o out/runtime.o
qbe out/out.qbe > out/out.s
gcc -c -g out/out.s -o out/out.o
gcc -nostartfiles -o out/program out/runtime.o out/out.o
echo "done..."
gcc -nostartfiles -o out/program out/runtime.o out/out.o