about summary refs log tree commit diff stats
path: root/translate_mu_emulated
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-25 12:26:05 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-25 12:28:10 -0800
commit47287fbf1af21207d8f847842fb32db9ee95e4c8 (patch)
tree432e6a6e6087efaf1b23cbb19465aa21407db055 /translate_mu_emulated
parent56bfd52643b469687beb6a91a2a6277cea7b75a0 (diff)
downloadmu-47287fbf1af21207d8f847842fb32db9ee95e4c8.tar.gz
7401 - clean up support for non-Linux platforms
Diffstat (limited to 'translate_mu_emulated')
-rwxr-xr-xtranslate_mu_emulated10
1 files changed, 10 insertions, 0 deletions
diff --git a/translate_mu_emulated b/translate_mu_emulated
new file mode 100755
index 00000000..7a305b96
--- /dev/null
+++ b/translate_mu_emulated
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Translate a Mu program using emulated mode on Linux or BSD or Mac.
+
+set -e
+
+./build
+
+cat $* [0-9]*.mu    |./bootstrap_bin run apps/mu    > a.subx
+
+./translate_subx_emulated init.linux [0-9]*.subx mu-init.subx a.subx