added closures

This commit is contained in:
Francesco Cozzuto
2021-12-01 00:07:17 +01:00
parent cbb8ac4337
commit da61b1a9d9
7 changed files with 99 additions and 35 deletions
+2
View File
@@ -36,6 +36,7 @@ mkdir temp/runtime
gcc -c src/runtime/runtime_error.c -o temp/runtime/runtime_error.o $FLAGS
gcc -c src/runtime/runtime.c -o temp/runtime/runtime.o $FLAGS
gcc -c src/runtime/o_builtins.c -o temp/runtime/o_builtins.o $FLAGS
gcc -c src/runtime/o_closure.c -o temp/runtime/o_closure.o $FLAGS
gcc -c src/runtime/o_nfunc.c -o temp/runtime/o_nfunc.o $FLAGS
gcc -c src/runtime/o_func.c -o temp/runtime/o_func.o $FLAGS
@@ -81,6 +82,7 @@ gcc src/main.c src/debug.c \
temp/runtime/runtime.o \
temp/runtime/runtime_error.o \
temp/runtime/o_builtins.o \
temp/runtime/o_closure.o \
temp/runtime/o_nfunc.o \
temp/runtime/o_func.o \
temp/common/executable.o \