about summary refs log tree commit diff stats
path: root/translate_mu_emulated
diff options
context:
space:
mode:
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