Fix type checking for anonymous functions

This commit is contained in:
nub31
2025-06-08 17:26:50 +02:00
parent de071808e6
commit dce5a2b566
7 changed files with 140 additions and 31 deletions

View File

@@ -1,16 +1,18 @@
#!/bin/bash
set -e
./clean.sh
mkdir -p out
dotnet build src/lang/Nub.Lang.CLI
nub example > out/out.qbe
nub example > out/out.ssa
nasm -g -felf64 src/runtime/runtime.asm -o out/runtime.o
nasm -g -felf64 src/runtime/core/syscall.asm -o out/syscall.o
qbe out/out.qbe > out/out.s
qbe out/out.ssa > out/out.s
gcc -c -g out/out.s -o out/out.o
gcc -nostartfiles -o out/program out/runtime.o out/syscall.o out/out.o
gcc -nostartfiles -o out/program out/runtime.o out/syscall.o out/out.o -no-pie