From 11a766126ac84492c2e38c1d0a72ac87a3461f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 9 Jan 2021 11:42:27 +0000 Subject: [PATCH 1/2] Update blynn-compiler. --- sysa/blynn-compiler-oriansj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysa/blynn-compiler-oriansj b/sysa/blynn-compiler-oriansj index b65c902..2f31a7b 160000 --- a/sysa/blynn-compiler-oriansj +++ b/sysa/blynn-compiler-oriansj @@ -1 +1 @@ -Subproject commit b65c9026d3ddeed5007e5aa1e709dc4006778293 +Subproject commit 2f31a7bcd767a14732e6e9f3f442e0545495bc44 From b4f7943b1559c3bd60fb0014ae6009f48fade97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 9 Jan 2021 11:46:13 +0000 Subject: [PATCH 2/2] Build blynn-compiler all the way to precisely. --- sysa/blynn-compiler.kaem | 99 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/sysa/blynn-compiler.kaem b/sysa/blynn-compiler.kaem index 13ce2d8..1159a2c 100755 --- a/sysa/blynn-compiler.kaem +++ b/sysa/blynn-compiler.kaem @@ -147,3 +147,102 @@ hex2 -f test/common_x86/ELF-i386-debug.hex2 \ --architecture x86 \ --BaseAddress 0x8048000 \ -o bin/marginally --exec_enable + +# Make methodically +./bin/marginally methodically.hs generated/methodically.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/methodically.c \ + --debug \ + -o bin/methodically.M1 + +blood-elf -f bin/methodically.M1 --entry _start -o bin/methodically-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/methodically.M1 \ + -f bin/methodically-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/methodically.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/methodically.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/methodically --exec_enable + +# Make crossly +./bin/methodically crossly.hs generated/crossly.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/crossly.c \ + --debug \ + -o bin/crossly.M1 + +blood-elf -f bin/crossly.M1 --entry _start -o bin/crossly-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/crossly.M1 \ + -f bin/crossly-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/crossly.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/crossly.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/crossly --exec_enable + +# Make precisely +./bin/crossly precisely.hs generated/precisely.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/precisely.c \ + --debug \ + -o bin/precisely.M1 + +blood-elf -f bin/precisely.M1 --entry _start -o bin/precisely-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/precisely.M1 \ + -f bin/precisely-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/precisely.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/precisely.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/precisely --exec_enable