2019-07-19 18:38:57 +00:00
|
|
|
#!/bin/sh
|
2020-12-25 20:26:05 +00:00
|
|
|
# Translate given SubX files by running the self-hosted translator in emulated
|
|
|
|
# mode on Linux or BSD or Mac.
|
2019-07-19 18:38:57 +00:00
|
|
|
#
|
2020-12-25 20:26:05 +00:00
|
|
|
# We _could_ generate traces here, but that's often extremely slow.
|
2019-07-19 18:38:57 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2019-08-26 00:37:10 +00:00
|
|
|
./build
|
2019-07-19 18:38:57 +00:00
|
|
|
|
2020-01-02 09:41:55 +00:00
|
|
|
cat $* |./bootstrap_bin run apps/braces > a.braces
|
|
|
|
cat a.braces |./bootstrap_bin run apps/calls > a.calls
|
|
|
|
cat a.calls |./bootstrap_bin run apps/sigils > a.sigils
|
|
|
|
cat a.sigils |./bootstrap_bin run apps/tests > a.tests
|
2020-12-25 20:26:05 +00:00
|
|
|
cat a.tests |./bootstrap_bin run apps/assort > a.assort
|
|
|
|
cat a.assort |./bootstrap_bin run apps/dquotes > a.dquotes
|
|
|
|
cat a.dquotes |./bootstrap_bin run apps/assort > a.assort2
|
|
|
|
cat a.assort2 |./bootstrap_bin run apps/pack > a.pack
|
2020-12-28 17:26:15 +00:00
|
|
|
cat a.pack |./bootstrap_bin run apps/survey_elf > a.survey
|
2020-01-02 09:41:55 +00:00
|
|
|
cat a.survey |./bootstrap_bin run apps/hex > a.elf
|
2019-09-05 00:36:12 +00:00
|
|
|
|
|
|
|
chmod +x a.elf
|