about summary refs log tree commit diff stats
path: root/linux/translate
diff options
context:
space:
mode:
Diffstat (limited to 'linux/translate')
-rwxr-xr-xlinux/translate8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/translate b/linux/translate
new file mode 100755
index 00000000..b2e37b5d
--- /dev/null
+++ b/linux/translate
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Translate a given Mu program into an ELF binary on Linux.
+
+set -e
+
+cat $* [0-9]*.mu    |./mu    > a.subx
+
+./translate_subx [0-9]*.subx mu-init.subx a.subx