Update blynn-compiler to latest

This commit is contained in:
fosslinux 2020-12-24 16:00:42 +11:00
parent c97ad0212f
commit 2706e07556
4 changed files with 40 additions and 44 deletions

View File

@ -28,7 +28,5 @@ cd after
../catm bin/kaem ../bin/kaem
../catm bin/catm ../catm
/busybox.static sh
# Finally, reinvoke kaem in this directory
bin/kaem kaem.run
../bin/kaem --file kaem.run

View File

@ -16,10 +16,10 @@
# You should have received a copy of the GNU General Public License
# along with live-bootstrap. If not, see <http://www.gnu.org/licenses/>.
PATH=/after/bin
PATH=/bin
# Part 2: blynn-compiler
cd blynn-compiler
kaem go.kaem
kaem --file go.kaem
cd ..

@ -1 +1 @@
Subproject commit aa5b62d7358fa0a1b45730c190a15ca3a8408c2c
Subproject commit 75493bc386a4bd19d8d1ce92cf004e994d8d9932

View File

@ -1,24 +1,6 @@
#!/bin/sh
# Copyright © 2020 fosslinux
#
# This file is part of live-bootstrap.
#
# live-bootstrap is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# live-bootstrap is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with live-bootstrap. If not, see <http://www.gnu.org/licenses/>.
set -ex
PATH=/after/bin
PATH=/bin
# compile pack_blobs.c
M2-Planet --architecture x86 \
@ -95,24 +77,40 @@ hex2 -f test/common_x86/ELF-i386-debug.hex2 \
-o bin/vm --exec_enable
# Generate raw file needed
./bin/vm --bootstrap \
-lf generated/parenthetically \
-lf generated/exponentially \
-lf generated/practically \
-lf generated/singularity_blob \
-lf singularity \
-lf semantically \
-lf stringy \
-lf binary \
-lf algebraically \
-lf parity.hs \
-lf fixity.hs \
-lf typically.hs \
-lf classy.hs \
-lf barely.hs \
-lf barely.hs \
-lfr barely.hs \
-o bin/raw
./bin/vm --raw blob/root -pb bootstrap -lf generated/parenthetically -o bin/raw_l
./bin/vm --raw bin/raw_l -pb generated/parenthetically -lf generated/exponentially -o bin/raw_m
./bin/vm --raw bin/raw_m -pb generated/exponentially -lf generated/practically -o bin/raw_n
./bin/vm --raw bin/raw_n -pb generated/practically -lf generated/singularity_blob -o bin/raw_o
./bin/vm --raw bin/raw_o -pb generated/singularity_blob -lf singularity -o bin/raw_p
./bin/vm --raw bin/raw_p -pb singularity -lf semantically -o bin/raw_q
./bin/vm --raw bin/raw_q -pb semantically -lf stringy -o bin/raw_r
./bin/vm --raw bin/raw_r -pb stringy -lf binary -o bin/raw_s
./bin/vm --raw bin/raw_s -pb binary -lf algebraically -o bin/raw_t
./bin/vm --raw bin/raw_t -pb algebraically -lf parity.hs -o bin/raw_u
./bin/vm --raw bin/raw_u -pb parity.hs -lf fixity.hs -o bin/raw_v
./bin/vm --raw bin/raw_v -pb fixity.hs -lf typically.hs -o bin/raw_w
./bin/vm --raw bin/raw_w -pb typically.hs -lf classy.hs -o bin/raw_x
./bin/vm --raw bin/raw_x -pb classy.hs -lf barely.hs -o bin/raw_y
./bin/vm --raw bin/raw_y -pb barely.hs -lf barely.hs -o bin/raw_z
./bin/vm -l bin/raw_z -lf barely.hs -o bin/raw
# Make lonely
./bin/vm -f lonely.hs -l bin/raw run effectively.hs -o generated/lonely.c
./bin/vm -l bin/raw -lf effectively.hs --redo -lf lonely.hs -o generated/lonely_raw.txt
# Make patty
./bin/vm -f patty.hs --raw generated/lonely_raw.txt --rts_c run -o generated/patty_raw.txt
# Make guardedly
./bin/vm -f guardedly.hs --raw generated/patty_raw.txt --rts_c run -o generated/guardedly_raw.txt
# Make assembly
./bin/vm -f assembly.hs --raw generated/guardedly_raw.txt --rts_c run -o generated/assembly_raw.txt
# Make mutually
./bin/vm -f mutually.hs --foreign 2 --raw generated/assembly_raw.txt --rts_c run -o generated/mutually_raw.txt
# Make uniquely
./bin/vm -f uniquely.hs --foreign 2 --raw generated/mutually_raw.txt --rts_c run -o generated/uniquely_raw.txt
# Make virtually
./bin/vm -f virtually.hs --foreign 2 --raw generated/uniquely_raw.txt --rts_c run -o generated/virtually_raw.txt